|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
E
- the type of elements returned by this iteratorpublic interface ObjIterator<E>
Extends Iterator
for the symmetry with primitive specializations.
See the comparison of iteration ways in the library.
Iterators of updatable and immutable collections don't support Iterator.remove()
operation. More about mutability profiles.
ObjCollection.iterator()
Method Summary | |
---|---|
void |
forEachRemaining(Consumer<? super E> action)
Performs the given action for each remaining element until all elements have been processed or the action throws an exception. |
Methods inherited from interface Iterator |
---|
hasNext, next, remove |
Method Detail |
---|
void forEachRemaining(@Nonnull Consumer<? super E> action)
action
- the action to be performed for each element
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |