public abstract class AbstractIntBigListIterator extends AbstractIntBidirectionalIterator implements IntBigListIterator
This implementation provides (deprecated) implementations of ListIterator.previousIndex() and ListIterator.nextIndex() that just invoke the corresponding BigListIterator
methods.
ListIterator,
BigListIterator| Modifier and Type | Method and Description |
|---|---|
void |
add(int k)
This method just throws an
UnsupportedOperationException. |
void |
add(Integer ok)
Delegates to the corresponding type-specific method.
|
long |
back(long n)
This method just iterates the type-specific version of
AbstractIntBidirectionalIterator.previous() for at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false. |
void |
set(int k)
This method just throws an
UnsupportedOperationException. |
void |
set(Integer ok)
Delegates to the corresponding type-specific method.
|
long |
skip(long n)
This method just iterates the type-specific version of
AbstractIntIterator.next() for at most n times, stopping if Iterator.hasNext() becomes false. |
back, previous, previousIntnext, nextInt, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitback, previousIntnextInt, skipskiphasPrevious, previousforEachRemaining, hasNext, next, removenextIndex, previousIndexpublic void set(Integer ok)
set in interface IntBigListIteratorpublic void add(Integer ok)
add in interface IntBigListIteratorpublic void set(int k)
UnsupportedOperationException.set in interface IntBigListIteratorpublic void add(int k)
UnsupportedOperationException.add in interface IntBigListIteratorpublic long skip(long n)
AbstractIntIterator.next() for at most n times, stopping if Iterator.hasNext() becomes false.skip in interface BigListIterator<Integer>n - the number of elements to skip.public long back(long n)
AbstractIntBidirectionalIterator.previous() for at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.