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