|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Please refer to the documentation of
PositionalContainer
.
InspectableContainer
,
PositionalContainer
Method Summary | |
PositionIterator |
positions()
Provides an iterator over all of the positions of the container. |
Methods inherited from interface jdsl.core.api.InspectableContainer |
contains, elements, isEmpty, size |
Method Detail |
public PositionIterator positions()
PositionalContainer
may guarantee an order in which
the iterator iterates over the positions. The iterator returned is a snapshot --
that is, it iterates over all positions that were in the container
at the moment that positions() was called, regardless of subsequent
modifications to the container.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |