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()
IntIteratornextInt in interface IntIteratorpublic boolean isModifiable()
PrimitiveIteratorisModifiable in interface PrimitiveIterator<Integer>true if the modification methods of the iterator can be usedpublic boolean isResettable()
PrimitiveIteratorisResettable in interface PrimitiveIterator<Integer>true if the object can be resetpublic void reset()
PrimitiveIteratorreset in interface PrimitiveIterator<Integer>Copyright © 2005-2012 Joda.org. All Rights Reserved.