|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FableVisitor
This class is part of visitor design pattern, enables easy addition of multiple operation on the ADT.
Method Summary | |
---|---|
void |
visit(Article a)
Visit the article a and to appropriate operation on a. |
void |
visit(Feed f)
Visit the feed f and do appropriate operation on f. |
void |
visit(Folder f)
Visit the folder f and do appropriate operation on f. |
Method Detail |
---|
void visit(Folder f)
f
- a folder to visit.void visit(Feed f)
f
- a feed to visit.void visit(Article a)
a
- an article to visit.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |