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.
|
java.lang.Double |
next()
Deprecated.
Please use the corresponding type-specific method instead.
|
double |
nextDouble()
Delegates to the corresponding generic method.
|
java.lang.Double |
previous()
Deprecated.
Please use the corresponding type-specific method instead.
|
double |
previousDouble()
Delegates to the corresponding generic method.
|
back
remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
skip
skip
public DoubleIterators.UnmodifiableBidirectionalIterator(DoubleBidirectionalIterator 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()
@Deprecated public java.lang.Double next()
next
in interface java.util.Iterator<java.lang.Double>
next
in class AbstractDoubleIterator
@Deprecated public java.lang.Double previous()
previous
in interface BidirectionalIterator<java.lang.Double>
previous
in class AbstractDoubleBidirectionalIterator
ListIterator.previous()