public static class IntBigListIterators.BigListIteratorListIterator extends AbstractIntBigListIterator
| Modifier and Type | Method and Description |
|---|---|
void |
add(int ok)
This method just throws an
UnsupportedOperationException. |
int |
back(int n)
This method just iterates the type-specific version of
AbstractIntBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false. |
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. |
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
long |
nextIndex()
Returns the index of the element that would be returned by a subsequent call to next.
|
int |
nextInt()
Delegates to the corresponding generic method.
|
long |
previousIndex()
Returns the index of the element that would be returned by a subsequent call to previous.
|
int |
previousInt()
Delegates to the corresponding generic method.
|
void |
remove()
This method just throws an
UnsupportedOperationException. |
void |
set(int ok)
This method just throws an
UnsupportedOperationException. |
int |
skip(int n)
This method just iterates the type-specific version of
AbstractIntIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false. |
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. |
add, setpreviousnextequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpreviouspublic void set(int ok)
AbstractIntBigListIteratorUnsupportedOperationException.set in interface IntBigListIteratorset in class AbstractIntBigListIteratorpublic void add(int ok)
AbstractIntBigListIteratorUnsupportedOperationException.add in interface IntBigListIteratoradd in class AbstractIntBigListIteratorpublic int back(int n)
AbstractIntBidirectionalIteratorAbstractIntBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.back in interface IntBidirectionalIteratorback in interface ObjectBidirectionalIterator<Integer>back in class AbstractIntBidirectionalIteratorn - the number of elements to skip back.Iterator.next()public long back(long n)
AbstractIntBigListIteratorAbstractIntBidirectionalIterator.previous() for
at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.back in class AbstractIntBigListIteratorpublic void remove()
AbstractIntIteratorUnsupportedOperationException.remove in interface Iterator<Integer>remove in class AbstractIntIteratorpublic int skip(int n)
AbstractIntIteratorAbstractIntIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false.skip in interface IntIteratorskip in interface ObjectIterator<Integer>skip in class AbstractIntIteratorn - the number of elements to skip.Iterator.next()public long skip(long n)
AbstractIntBigListIteratorAbstractIntIterator.next() for at most
n times, stopping if Iterator.hasNext() becomes false.skip in interface BigListIterator<Integer>skip in class AbstractIntBigListIteratorn - the number of elements to skip.public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public int nextInt()
AbstractIntIteratornextInt in interface IntIteratornextInt in class AbstractIntIteratorIterator.next()public int previousInt()
AbstractIntBidirectionalIteratorpreviousInt in interface IntBidirectionalIteratorpreviousInt in class AbstractIntBidirectionalIteratorListIterator.previous()public long nextIndex()
BigListIteratorListIterator.nextIndex()public long previousIndex()
BigListIteratorListIterator.previousIndex()