protected static class FloatIterators.ShortIteratorWrapper extends Object implements FloatIterator
| Constructor and Description |
|---|
ShortIteratorWrapper(ShortIterator iterator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Float |
next()
Deprecated.
|
float |
nextFloat()
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, waitforEachRemaining, forEachRemainingpublic ShortIteratorWrapper(ShortIterator iterator)
@Deprecated public Float next()
FloatIteratornext in interface FloatIteratornext in interface Iterator<Float>public float nextFloat()
FloatIteratornextFloat in interface FloatIteratorIterator.next()public int skip(int n)
FloatIteratorThe effect of this call is exactly the same as that of calling FloatIterator.next() for n times (possibly stopping if Iterator.hasNext() becomes false).
skip in interface FloatIteratorn - the number of elements to skip.Iterator.next()Copyright © 2020. All rights reserved.