public static class BooleanIterators.UnmodifiableListIterator extends AbstractBooleanListIterator
| Constructor and Description |
|---|
UnmodifiableListIterator(BooleanListIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
boolean |
nextBoolean()
Returns the next element as a primitive type.
|
int |
nextIndex() |
boolean |
previousBoolean()
This implementation delegates to
AbstractBooleanBidirectionalIterator.previous(). |
int |
previousIndex() |
add, add, set, setback, previousnext, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnext, previous, removeback, previousskipskipforEachRemainingpublic UnmodifiableListIterator(BooleanListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public boolean nextBoolean()
AbstractBooleanIteratorThis implementation delegates to the corresponding generic method.
nextBoolean in interface BooleanIteratornextBoolean in class AbstractBooleanIteratorIterator.next()public boolean previousBoolean()
AbstractBooleanBidirectionalIterator
This implementation delegates to AbstractBooleanBidirectionalIterator.previous().
previousBoolean in interface BooleanBidirectionalIteratorpreviousBoolean in class AbstractBooleanBidirectionalIteratorListIterator.previous()public int nextIndex()
public int previousIndex()