protected static class DoubleIterators.ShortIteratorWrapper extends Object implements DoubleIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong| Constructor and Description |
|---|
ShortIteratorWrapper(ShortIterator iterator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Double |
next()
Deprecated.
|
double |
nextDouble()
Returns the next element as a primitive type.
|
void |
remove() |
int |
skip(int n)
Skips the given number of elements.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingforEachRemainingpublic ShortIteratorWrapper(ShortIterator iterator)
@Deprecated public Double next()
DoubleIteratornext in interface DoubleIteratornext in interface Iterator<Double>next in interface PrimitiveIterator.OfDoublepublic double nextDouble()
DoubleIteratornextDouble in interface DoubleIteratornextDouble in interface PrimitiveIterator.OfDoubleIterator.next()public int skip(int n)
DoubleIteratorThe effect of this call is exactly the same as that of calling DoubleIterator.next() for n times (possibly stopping if Iterator.hasNext() becomes false).
skip in interface DoubleIteratorn - the number of elements to skip.Iterator.next()Copyright © 2020. All rights reserved.