public static class DoubleIterators.UnmodifiableBidirectionalIterator extends AbstractDoubleBidirectionalIterator
| Constructor and Description |
|---|
DoubleIterators.UnmodifiableBidirectionalIterator(DoubleBidirectionalIterator 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.
|
Double |
previous()
Delegates to the corresponding type-specific method.
|
double |
previousDouble()
Delegates to the corresponding generic method.
|
backremove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipskippublic DoubleIterators.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()public Double next()
AbstractDoubleIteratornext in interface Iterator<Double>next in class AbstractDoubleIteratorpublic Double previous()
AbstractDoubleBidirectionalIteratorprevious in interface BidirectionalIterator<Double>previous in class AbstractDoubleBidirectionalIteratorListIterator.previous()