BooleanIterator, java.util.Iterator<java.lang.Boolean>public static class BooleanIterators.UnmodifiableIterator extends java.lang.Object implements BooleanIterator
| Constructor | Description |
|---|---|
UnmodifiableIterator(BooleanIterator i) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
hasNext() |
|
boolean |
nextBoolean() |
Returns the next element as a primitive type.
|
forEachRemaining, forEachRemaining, next, skippublic UnmodifiableIterator(BooleanIterator i)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Boolean>public boolean nextBoolean()
BooleanIteratornextBoolean in interface BooleanIteratorIterator.next()