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 AbstractBooleanListIterator
| Modifier and Type | Field | Description |
|---|---|---|
protected BooleanListIterator |
i |
| Constructor | Description |
|---|---|
UnmodifiableListIterator(BooleanListIterator i) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
hasNext() |
|
boolean |
hasPrevious() |
Returns whether there is a previous element.
|
java.lang.Boolean |
next() |
Deprecated.
Please use the corresponding type-specific method
instead.
|
boolean |
nextBoolean() |
Delegates to the corresponding generic method.
|
int |
nextIndex() |
|
java.lang.Boolean |
previous() |
Deprecated.
Please use the corresponding type-specific method
instead.
|
boolean |
previousBoolean() |
Delegates to the corresponding generic method.
|
int |
previousIndex() |
backremove, skipadd, add, set, setbackskipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipprotected final BooleanListIterator i
public 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()
@Deprecated public java.lang.Boolean next()
next in interface java.util.Iterator<java.lang.Boolean>next in interface java.util.ListIterator<java.lang.Boolean>next in class AbstractBooleanIterator@Deprecated public java.lang.Boolean previous()
previous in interface BidirectionalIterator<java.lang.Boolean>previous in interface java.util.ListIterator<java.lang.Boolean>previous in class AbstractBooleanBidirectionalIteratorListIterator.previous()