public interface DoubleListIterator extends DoubleIterator, PrimitiveListIterator<java.lang.Double>
double values.| 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).
|
double |
previousDouble()
Gets the previous value from the iterator.
|
void |
set(double value)
Sets the last retrieved value from the iterator (optional operation).
|
nextDoubleisModifiable, isResettable, resetdouble previousDouble()
throws java.util.NoSuchElementException
java.util.NoSuchElementException - if there are no more values availablevoid add(double value)
value - the value to addjava.lang.IllegalStateException - if the iterator cannot be added to at presentjava.lang.UnsupportedOperationException - if not supported by this collectionvoid set(double value)
value - the value to setjava.lang.IllegalStateException - if the iterator cannot be set to at presentjava.lang.UnsupportedOperationException - if not supported by this collectionCopyright © 2005–2018 Joda.org. All rights reserved.