public static class DoubleIterators.UnmodifiableListIterator extends AbstractDoubleListIterator
| Constructor and Description |
|---|
UnmodifiableListIterator(DoubleListIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
double |
nextDouble()
Returns the next element as a primitive type.
|
int |
nextIndex() |
double |
previousDouble()
This implementation delegates to
AbstractDoubleBidirectionalIterator.previous(). |
int |
previousIndex() |
add, add, set, setback, previousnext, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnext, previous, removeback, previousskipskipforEachRemainingpublic UnmodifiableListIterator(DoubleListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public double nextDouble()
AbstractDoubleIteratorThis implementation delegates to the corresponding generic method.
nextDouble in interface DoubleIteratornextDouble in class AbstractDoubleIteratorIterator.next()public double previousDouble()
AbstractDoubleBidirectionalIterator
This implementation delegates to AbstractDoubleBidirectionalIterator.previous().
previousDouble in interface DoubleBidirectionalIteratorpreviousDouble in class AbstractDoubleBidirectionalIteratorListIterator.previous()public int nextIndex()
public int previousIndex()