public static class DoubleIterators.UnmodifiableListIterator extends AbstractDoubleListIterator
Constructor and Description |
---|
DoubleIterators.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, set
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
remove
back
skip
skip
public DoubleIterators.UnmodifiableListIterator(DoubleListIterator i)
public boolean hasNext()
public boolean hasPrevious()
BidirectionalIterator
ListIterator.hasPrevious()
public double nextDouble()
AbstractDoubleIterator
nextDouble
in interface DoubleIterator
nextDouble
in class AbstractDoubleIterator
Iterator.next()
public double previousDouble()
AbstractDoubleBidirectionalIterator
previousDouble
in interface DoubleBidirectionalIterator
previousDouble
in class AbstractDoubleBidirectionalIterator
ListIterator.previous()
public int nextIndex()
public int previousIndex()
public Double next()
AbstractDoubleIterator
next
in interface Iterator<Double>
next
in interface ListIterator<Double>
next
in class AbstractDoubleIterator
public Double previous()
AbstractDoubleBidirectionalIterator
previous
in interface BidirectionalIterator<Double>
previous
in interface ListIterator<Double>
previous
in class AbstractDoubleBidirectionalIterator
ListIterator.previous()