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, skip
public BooleanIterators.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