- All Superinterfaces:
Iter
- All Known Implementing Classes:
ArrayListIter
Array iterators can also go backwards and seek.
- Author:
- Erich Schubert
-
Method Summary
-
Method Details
-
getOffset
int getOffset()Get current iterator offset.- Returns:
- Iterator position
-
advance
void advance(int count) Moves the iterator forward or backward by the given offset.- Parameters:
count
- offset to move forward or backwards
-
retract
void retract()Moves the iterator backward to the previous entry. -
seek
void seek(int off) Moves the iterator to the given position- Parameters:
off
- Seek offset
-