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 |
next()
Delegates to the corresponding type-specific method.
|
double |
nextDouble()
Delegates to the corresponding generic method.
|
int |
nextIndex() |
Double |
previous()
Delegates to the corresponding type-specific method.
|
double |
previousDouble()
Delegates to the corresponding generic method.
|
int |
previousIndex() |
add, add, set, setbackremove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremovebackskipskipforEachRemainingpublic UnmodifiableListIterator(DoubleListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIteratorListIterator.hasPrevious()public double nextDouble()
AbstractDoubleIteratornextDouble in interface DoubleIteratornextDouble in class AbstractDoubleIteratorIterator.next()public double previousDouble()
AbstractDoubleBidirectionalIteratorpreviousDouble in interface DoubleBidirectionalIteratorpreviousDouble in class AbstractDoubleBidirectionalIteratorListIterator.previous()public int nextIndex()
public int previousIndex()
public Double next()
AbstractDoubleIteratornext in interface Iterator<Double>next in interface ListIterator<Double>next in class AbstractDoubleIteratorpublic Double previous()
AbstractDoubleBidirectionalIteratorprevious in interface BidirectionalIterator<Double>previous in interface ListIterator<Double>previous in class AbstractDoubleBidirectionalIteratorListIterator.previous()