protected static class ArrayBooleanCollection.PIterator extends java.lang.Object implements BooleanIterator
Modifier | Constructor and Description |
---|---|
protected |
PIterator(ArrayBooleanCollection coll) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
boolean |
isModifiable()
Checks whether the iterator can currently be modified.
|
boolean |
isResettable()
Checks whether the iterator can be reset.
|
java.lang.Boolean |
next() |
boolean |
nextBoolean()
Gets the next value from the iterator
|
void |
remove() |
void |
reset()
Resets the iterator back to its initial state (optional operation).
|
protected PIterator(ArrayBooleanCollection coll)
public boolean hasNext()
hasNext
in interface java.util.Iterator<java.lang.Boolean>
public boolean nextBoolean()
BooleanIterator
nextBoolean
in interface BooleanIterator
public java.lang.Boolean next()
next
in interface java.util.Iterator<java.lang.Boolean>
public void remove()
remove
in interface java.util.Iterator<java.lang.Boolean>
public boolean isModifiable()
PrimitiveIterator
isModifiable
in interface PrimitiveIterator<java.lang.Boolean>
true
if the modification methods of the iterator can be usedpublic boolean isResettable()
PrimitiveIterator
isResettable
in interface PrimitiveIterator<java.lang.Boolean>
true
if the object can be resetpublic void reset()
PrimitiveIterator
reset
in interface PrimitiveIterator<java.lang.Boolean>
Copyright © 2005–2018 Joda.org. All rights reserved.