|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BigListIterator<K>
A list iterator over a BigList
.
This kind of iterator is essentially a ListIterator
with long indices.
Iterator
,
ListIterator
Method Summary | |
---|---|
long |
nextIndex()
Returns the index of the element that would be returned by a subsequent call to next. |
long |
previousIndex()
Returns the index of the element that would be returned by a subsequent call to previous. |
long |
skip(long n)
Skips the given number of elements. |
Methods inherited from interface it.unimi.dsi.fastutil.BidirectionalIterator |
---|
hasPrevious, previous |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Method Detail |
---|
long nextIndex()
ListIterator.nextIndex()
long previousIndex()
ListIterator.previousIndex()
long skip(long n)
The effect of this call is exactly the same as that of
calling Iterator.next()
for n
times (possibly stopping
if Iterator.hasNext()
becomes false).
n
- the number of elements to skip.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |