public static class BooleanBigListIterators.UnmodifiableBigListIterator extends AbstractBooleanBigListIterator
Constructor and Description |
---|
UnmodifiableBigListIterator(BooleanBigListIterator i) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
java.lang.Boolean |
next()
Delegates to the corresponding type-specific method.
|
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.
|
java.lang.Boolean |
previous()
Delegates to the corresponding type-specific method.
|
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.
|
add, add, back, set, set, skip
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
back
skip
skip
public UnmodifiableBigListIterator(BooleanBigListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public boolean nextBoolean()
AbstractBooleanIterator
nextBoolean
in interface BooleanIterator
nextBoolean
in class AbstractBooleanIterator
Iterator.next()
public boolean previousBoolean()
AbstractBooleanBidirectionalIterator
previousBoolean
in interface BooleanBidirectionalIterator
previousBoolean
in class AbstractBooleanBidirectionalIterator
ListIterator.previous()
public long nextIndex()
BigListIterator
ListIterator.nextIndex()
public long previousIndex()
BigListIterator
ListIterator.previousIndex()
public java.lang.Boolean next()
AbstractBooleanIterator
next
in interface java.util.Iterator<java.lang.Boolean>
next
in class AbstractBooleanIterator
public java.lang.Boolean previous()
AbstractBooleanBidirectionalIterator
previous
in interface BidirectionalIterator<java.lang.Boolean>
previous
in class AbstractBooleanBidirectionalIterator
ListIterator.previous()