|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
E
- the element type the visitor accepts.public interface Visitor<E>
A visitor to internalize iteration.
Method Summary | |
---|---|
boolean |
visit(E element)
Invoked for each element in a collection. |
Method Detail |
---|
boolean visit(E element)
true
to
terminate the iteration, false
to continue.
element
- an element from the collection.
true
to terminate the iteration, false
to continue.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |