public static class BooleanIterators.UnmodifiableBidirectionalIterator extends AbstractBooleanBidirectionalIterator
| Constructor and Description |
|---|
BooleanIterators.UnmodifiableBidirectionalIterator(BooleanBidirectionalIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
java.lang.Boolean |
next()
Delegates to the corresponding type-specific method.
|
boolean |
nextBoolean()
Delegates to the corresponding generic method.
|
java.lang.Boolean |
previous()
Delegates to the corresponding type-specific method.
|
boolean |
previousBoolean()
Delegates to the corresponding generic method.
|
backremove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipskippublic BooleanIterators.UnmodifiableBidirectionalIterator(BooleanBidirectionalIterator 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 java.lang.Boolean next()
AbstractBooleanIteratornext in interface java.util.Iterator<java.lang.Boolean>next in class AbstractBooleanIteratorpublic java.lang.Boolean previous()
AbstractBooleanBidirectionalIteratorprevious in interface BidirectionalIterator<java.lang.Boolean>previous in class AbstractBooleanBidirectionalIteratorListIterator.previous()