public static class BooleanIterators.UnmodifiableIterator extends AbstractBooleanIterator
| Constructor and Description |
|---|
UnmodifiableIterator(BooleanIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
nextBoolean()
Returns the next element as a primitive type.
|
next, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic UnmodifiableIterator(BooleanIterator i)
public boolean hasNext()
public boolean nextBoolean()
AbstractBooleanIteratorThis implementation delegates to the corresponding generic method.
nextBoolean in interface BooleanIteratornextBoolean in class AbstractBooleanIteratorIterator.next()