public static class BooleanIterators.UnmodifiableIterator extends Object implements BooleanIterator
| Modifier and Type | Field and Description |
|---|---|
protected BooleanIterator |
i |
| Constructor and Description |
|---|
UnmodifiableIterator(BooleanIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
nextBoolean()
Returns the next element as a primitive type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, forEachRemaining, next, skipprotected final BooleanIterator i
public UnmodifiableIterator(BooleanIterator i)
public boolean nextBoolean()
BooleanIteratornextBoolean in interface BooleanIteratorIterator.next()Copyright © 2020. All rights reserved.