public static class LongBigListIterators.BigListIteratorListIterator extends AbstractLongBigListIterator
| Modifier and Type | Method and Description |
|---|---|
void |
add(long ok)
This method just throws an
UnsupportedOperationException. |
int |
back(int n)
This method just iterates the type-specific version of
AbstractLongBidirectionalIterator.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
AbstractLongBidirectionalIterator.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.
|
long |
nextLong()
Delegates to the corresponding generic method.
|
long |
previousIndex()
Returns the index of the element that would be returned by a subsequent call to previous.
|
long |
previousLong()
Delegates to the corresponding generic method.
|
void |
remove()
This method just throws an
UnsupportedOperationException. |
void |
set(long ok)
This method just throws an
UnsupportedOperationException. |
int |
skip(int n)
This method just iterates the type-specific version of
AbstractLongIterator.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
AbstractLongIterator.next() for at most n times, stopping if Iterator.hasNext() becomes false. |
add, setpreviousnextequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpreviousforEachRemaining, nextpublic void set(long ok)
AbstractLongBigListIteratorUnsupportedOperationException.set in interface LongBigListIteratorset in class AbstractLongBigListIteratorpublic void add(long ok)
AbstractLongBigListIteratorUnsupportedOperationException.add in interface LongBigListIteratoradd in class AbstractLongBigListIteratorpublic int back(int n)
AbstractLongBidirectionalIteratorAbstractLongBidirectionalIterator.previous() for at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.back in interface LongBidirectionalIteratorback in interface ObjectBidirectionalIterator<Long>back in class AbstractLongBidirectionalIteratorn - the number of elements to skip back.Iterator.next()public long back(long n)
AbstractLongBigListIteratorAbstractLongBidirectionalIterator.previous() for at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.back in class AbstractLongBigListIteratorpublic void remove()
AbstractLongIteratorUnsupportedOperationException.remove in interface Iterator<Long>remove in class AbstractLongIteratorpublic int skip(int n)
AbstractLongIteratorAbstractLongIterator.next() for at most n times, stopping if Iterator.hasNext() becomes false.skip in interface LongIteratorskip in interface ObjectIterator<Long>skip in class AbstractLongIteratorn - the number of elements to skip.Iterator.next()public long skip(long n)
AbstractLongBigListIteratorAbstractLongIterator.next() for at most n times, stopping if Iterator.hasNext() becomes false.skip in interface BigListIterator<Long>skip in class AbstractLongBigListIteratorn - the number of elements to skip.public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public long nextLong()
AbstractLongIteratornextLong in interface LongIteratornextLong in class AbstractLongIteratorIterator.next()public long previousLong()
AbstractLongBidirectionalIteratorpreviousLong in interface LongBidirectionalIteratorpreviousLong in class AbstractLongBidirectionalIteratorListIterator.previous()public long nextIndex()
BigListIteratorListIterator.nextIndex()public long previousIndex()
BigListIteratorListIterator.previousIndex()