public static class BooleanBigListIterators.BigListIteratorListIterator extends AbstractBooleanBigListIterator
| Modifier and Type | Method and Description |
|---|---|
void |
add(boolean ok)
This method just throws an
UnsupportedOperationException. |
int |
back(int n)
This method just iterates the type-specific version of
AbstractBooleanBidirectionalIterator.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
AbstractBooleanBidirectionalIterator.previous() for at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false. |
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
boolean |
nextBoolean()
Delegates to the corresponding generic method.
|
long |
nextIndex()
Returns the index of the element that would be returned by a subsequent call to next.
|
boolean |
previousBoolean()
Delegates to the corresponding generic method.
|
long |
previousIndex()
Returns the index of the element that would be returned by a subsequent call to previous.
|
void |
remove()
This method just throws an
UnsupportedOperationException. |
void |
set(boolean ok)
This method just throws an
UnsupportedOperationException. |
int |
skip(int n)
This method just iterates the type-specific version of
AbstractBooleanIterator.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
AbstractBooleanIterator.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(boolean ok)
AbstractBooleanBigListIteratorUnsupportedOperationException.set in interface BooleanBigListIteratorset in class AbstractBooleanBigListIteratorpublic void add(boolean ok)
AbstractBooleanBigListIteratorUnsupportedOperationException.add in interface BooleanBigListIteratoradd in class AbstractBooleanBigListIteratorpublic int back(int n)
AbstractBooleanBidirectionalIteratorAbstractBooleanBidirectionalIterator.previous() for at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.back in interface BooleanBidirectionalIteratorback in interface ObjectBidirectionalIterator<Boolean>back in class AbstractBooleanBidirectionalIteratorn - the number of elements to skip back.Iterator.next()public long back(long n)
AbstractBooleanBigListIteratorAbstractBooleanBidirectionalIterator.previous() for at most n times, stopping if BidirectionalIterator.hasPrevious() becomes false.back in class AbstractBooleanBigListIteratorpublic void remove()
AbstractBooleanIteratorUnsupportedOperationException.remove in interface Iterator<Boolean>remove in class AbstractBooleanIteratorpublic int skip(int n)
AbstractBooleanIteratorAbstractBooleanIterator.next() for at most n times, stopping if Iterator.hasNext() becomes false.skip in interface BooleanIteratorskip in interface ObjectIterator<Boolean>skip in class AbstractBooleanIteratorn - the number of elements to skip.Iterator.next()public long skip(long n)
AbstractBooleanBigListIteratorAbstractBooleanIterator.next() for at most n times, stopping if Iterator.hasNext() becomes false.skip in interface BigListIterator<Boolean>skip in class AbstractBooleanBigListIteratorn - the number of elements to skip.public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public boolean nextBoolean()
AbstractBooleanIteratornextBoolean in interface BooleanIteratornextBoolean in class AbstractBooleanIteratorIterator.next()public boolean previousBoolean()
AbstractBooleanBidirectionalIteratorpreviousBoolean in interface BooleanBidirectionalIteratorpreviousBoolean in class AbstractBooleanBidirectionalIteratorListIterator.previous()public long nextIndex()
BigListIteratorListIterator.nextIndex()public long previousIndex()
BigListIteratorListIterator.previousIndex()