public static class BooleanIterators.UnmodifiableIterator extends AbstractBooleanIterator
| Constructor and Description |
|---|
UnmodifiableIterator(BooleanIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Boolean |
next()
Delegates to the corresponding type-specific method.
|
boolean |
nextBoolean()
Delegates to the corresponding generic method.
|
remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic UnmodifiableIterator(BooleanIterator i)
public boolean hasNext()
public boolean nextBoolean()
AbstractBooleanIteratornextBoolean in interface BooleanIteratornextBoolean in class AbstractBooleanIteratorIterator.next()public Boolean next()
AbstractBooleanIteratornext in interface Iterator<Boolean>next in class AbstractBooleanIterator