public static class DoubleIterators.UnmodifiableBidirectionalIterator extends AbstractDoubleBidirectionalIterator
| Modifier and Type | Field and Description |
|---|---|
protected DoubleBidirectionalIterator |
i |
| 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, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskipskipprotected final DoubleBidirectionalIterator i
public 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()Copyright © 2013. All Rights Reserved.