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, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public UnmodifiableIterator(BooleanIterator i)
public boolean hasNext()
public boolean nextBoolean()
AbstractBooleanIterator
nextBoolean
in interface BooleanIterator
nextBoolean
in class AbstractBooleanIterator
Iterator.next()
public Boolean next()
AbstractBooleanIterator
next
in interface Iterator<Boolean>
next
in class AbstractBooleanIterator