protected static class AbstractDoubleList.PListIterator extends Object implements DoubleListIterator
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDoubleList.PListIterator(AbstractDoubleList list,
int start) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(double value)
Adds the specified value to the list underlying the iterator at the
current iteration index (optional operation).
|
void |
add(Double obj) |
boolean |
hasNext() |
boolean |
hasPrevious() |
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
|
int |
nextIndex() |
Double |
previous() |
double |
previousDouble()
Gets the previous value from the iterator.
|
int |
previousIndex() |
void |
remove() |
void |
reset()
Resets the iterator back to its initial state (optional operation).
|
void |
set(double value)
Sets the last retrieved value from the iterator (optional operation).
|
void |
set(Double obj) |
protected AbstractDoubleList.PListIterator(AbstractDoubleList list, int start)
public boolean hasNext()
public double nextDouble()
DoubleIteratornextDouble in interface DoubleIteratorpublic int nextIndex()
nextIndex in interface ListIterator<Double>public boolean hasPrevious()
hasPrevious in interface ListIterator<Double>public double previousDouble()
DoubleListIteratorpreviousDouble in interface DoubleListIteratorpublic Double previous()
previous in interface ListIterator<Double>public int previousIndex()
previousIndex in interface ListIterator<Double>public void remove()
public void add(double value)
DoubleListIteratoradd in interface DoubleListIteratorvalue - the value to addpublic void add(Double obj)
add in interface ListIterator<Double>public void set(double value)
DoubleListIteratorset in interface DoubleListIteratorvalue - the value to setpublic void set(Double obj)
set in interface ListIterator<Double>public boolean isModifiable()
PrimitiveIteratorisModifiable in interface PrimitiveIterator<Double>true if the modification methods of the iterator can be usedpublic boolean isResettable()
PrimitiveIteratorisResettable in interface PrimitiveIterator<Double>true if the object can be resetpublic void reset()
PrimitiveIteratorreset in interface PrimitiveIterator<Double>Copyright © 2005-2012 Joda.org. All Rights Reserved.