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 |
next()
Delegates to the corresponding type-specific method.
|
boolean |
nextBoolean()
Delegates to the corresponding generic method.
|
int |
nextIndex() |
Boolean |
previous()
Delegates to the corresponding type-specific method.
|
boolean |
previousBoolean()
Delegates to the corresponding generic method.
|
int |
previousIndex() |
add, add, set, setbackremove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremovebackskipskipforEachRemainingpublic UnmodifiableListIterator(BooleanListIterator i)
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 int nextIndex()
public int previousIndex()
public Boolean next()
AbstractBooleanIteratornext in interface Iterator<Boolean>next in interface ListIterator<Boolean>next in class AbstractBooleanIteratorpublic Boolean previous()
AbstractBooleanBidirectionalIteratorprevious in interface BidirectionalIterator<Boolean>previous in interface ListIterator<Boolean>previous in class AbstractBooleanBidirectionalIteratorListIterator.previous()