public abstract class AbstractBooleanBigListIterator extends AbstractBooleanBidirectionalIterator implements BooleanBigListIterator
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(boolean k)
This method just throws an
UnsupportedOperationException . |
void |
add(java.lang.Boolean ok)
Delegates to the corresponding type-specific method.
|
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. |
void |
set(boolean k)
This method just throws an
UnsupportedOperationException . |
void |
set(java.lang.Boolean ok)
Delegates to the corresponding type-specific method.
|
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. |
back, previous, previousBoolean
next, nextBoolean, remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
back, previousBoolean
nextBoolean, skip
skip
hasPrevious, previous
nextIndex, previousIndex
public void set(java.lang.Boolean ok)
set
in interface BooleanBigListIterator
public void add(java.lang.Boolean ok)
add
in interface BooleanBigListIterator
public void set(boolean k)
UnsupportedOperationException
.set
in interface BooleanBigListIterator
public void add(boolean k)
UnsupportedOperationException
.add
in interface BooleanBigListIterator
public long skip(long n)
AbstractBooleanIterator.next()
for at most
n
times, stopping if Iterator.hasNext()
becomes false.skip
in interface BigListIterator<java.lang.Boolean>
n
- the number of elements to skip.public long back(long n)
AbstractBooleanBidirectionalIterator.previous()
for
at most n
times, stopping if BidirectionalIterator.hasPrevious()
becomes false.