public static class DoubleIterators.UnmodifiableBidirectionalIterator extends AbstractDoubleBidirectionalIterator
| Constructor and Description |
|---|
UnmodifiableBidirectionalIterator(DoubleBidirectionalIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
hasPrevious()
Returns whether there is a previous element.
|
Double |
next()
Deprecated.
Please use the corresponding type-specific method
instead.
|
double |
nextDouble()
Delegates to the corresponding generic method.
|
Double |
previous()
Deprecated.
Please use the corresponding type-specific method
instead.
|
double |
previousDouble()
Delegates to the corresponding generic method.
|
backremove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipskipforEachRemaining, removepublic UnmodifiableBidirectionalIterator(DoubleBidirectionalIterator 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()@Deprecated public Double next()
next in interface Iterator<Double>next in class AbstractDoubleIterator@Deprecated public Double previous()
previous in interface BidirectionalIterator<Double>previous in class AbstractDoubleBidirectionalIteratorListIterator.previous()