|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
R - type of object the visitor is expected to return, if none use Voidpublic interface IVisit<R>
Allows visitors to control the visit/traversal
| Method Summary | |
|---|---|
void |
dontGoDeeper()
Prevents the visitor from visiting any children of the object currently visited |
void |
stop()
Stops the visit/traversal |
void |
stop(R result)
Stops the visit/traversal and returns result |
| Method Detail |
|---|
void stop()
void stop(R result)
result
result - void dontGoDeeper()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||