public static class BooleanIterators.UnmodifiableIterator extends AbstractBooleanIterator
| Constructor and Description |
|---|
BooleanIterators.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, skippublic BooleanIterators.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