|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Positionable
instead.
@Deprecated public interface PositionableIterator
An iterator that has the concept of a position during iteration. The position can be conceptualised as a point
between two elements in the sequence that is being iterated. An iterator that is traversing from the start will be in
position zero (0). An iterator is capable of being in a position beyond the last element of the sequence. That is to
say, the highest possible value of the position of the iterator is equal to the length of the sequence (not the
index of the last element).
A sequence can be conceptualised as:
0 1 2 3 4 5 6 7 8 position in sequence |___|___|___|___|___|___|___|___| | | | | | | | | | | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | sequence element index |___|___|___|___|___|___|___|___|
Method Summary | |
---|---|
int |
getPosition()
Deprecated. Returns the position of this iterator. |
Method Detail |
---|
int getPosition()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |