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