public static class BooleanIterators.UnmodifiableListIterator extends java.lang.Object implements BooleanListIterator
| 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()
Returns the previous element as a primitive type.
|
int |
previousIndex() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, add, next, previous, remove, set, setback, skipforEachRemaining, forEachRemainingpublic UnmodifiableListIterator(BooleanListIterator i)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Boolean>hasNext in interface java.util.ListIterator<java.lang.Boolean>public boolean hasPrevious()
BidirectionalIteratorhasPrevious in interface BidirectionalIterator<java.lang.Boolean>hasPrevious in interface java.util.ListIterator<java.lang.Boolean>ListIterator.hasPrevious()public boolean nextBoolean()
BooleanIteratornextBoolean in interface BooleanIteratorIterator.next()public boolean previousBoolean()
BooleanBidirectionalIteratorpreviousBoolean in interface BooleanBidirectionalIteratorListIterator.previous()public int nextIndex()
nextIndex in interface java.util.ListIterator<java.lang.Boolean>public int previousIndex()
previousIndex in interface java.util.ListIterator<java.lang.Boolean>