protected static class ArrayIntCollection.PIterator extends Object implements IntIterator
Modifier | Constructor and Description |
---|---|
protected |
ArrayIntCollection.PIterator(ArrayIntCollection 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.
|
Integer |
next() |
int |
nextInt()
Gets the next value from the iterator
|
void |
remove() |
void |
reset()
Resets the iterator back to its initial state (optional operation).
|
protected ArrayIntCollection.PIterator(ArrayIntCollection coll)
public int nextInt()
IntIterator
nextInt
in interface IntIterator
public boolean isModifiable()
PrimitiveIterator
isModifiable
in interface PrimitiveIterator<Integer>
true
if the modification methods of the iterator can be usedpublic boolean isResettable()
PrimitiveIterator
isResettable
in interface PrimitiveIterator<Integer>
true
if the object can be resetpublic void reset()
PrimitiveIterator
reset
in interface PrimitiveIterator<Integer>
Copyright © 2005-2012 Joda.org. All Rights Reserved.