BidirectionalIterator<java.lang.Boolean>, BooleanBidirectionalIterator, BooleanIterator, BooleanListIterator, ObjectBidirectionalIterator<java.lang.Boolean>, ObjectIterator<java.lang.Boolean>, java.util.Iterator<java.lang.Boolean>, java.util.ListIterator<java.lang.Boolean>public static class BooleanIterators.UnmodifiableListIterator extends java.lang.Object implements BooleanListIterator
| Constructor | Description |
|---|---|
UnmodifiableListIterator(BooleanListIterator i) |
| Modifier and Type | Method | 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() |
back, 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>