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