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.
|
java.lang.Double |
next()
Deprecated.
Please use the corresponding type-specific method instead.
|
double |
nextDouble()
Delegates to the corresponding generic method.
|
int |
nextIndex() |
java.lang.Double |
previous()
Deprecated.
Please use the corresponding type-specific method instead.
|
double |
previousDouble()
Delegates to the corresponding generic method.
|
int |
previousIndex() |
add, add, set, setbackremove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbackskipskippublic 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()
@Deprecated public java.lang.Double next()
next in interface java.util.Iterator<java.lang.Double>next in interface java.util.ListIterator<java.lang.Double>next in class AbstractDoubleIterator@Deprecated public java.lang.Double previous()
previous in interface BidirectionalIterator<java.lang.Double>previous in interface java.util.ListIterator<java.lang.Double>previous in class AbstractDoubleBidirectionalIteratorListIterator.previous()