protected static class ShortIterators.ByteIteratorWrapper extends Object implements ShortIterator
| Constructor and Description |
|---|
ByteIteratorWrapper(ByteIterator iterator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Short |
next()
Deprecated.
|
short |
nextShort()
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 ByteIteratorWrapper(ByteIterator iterator)
@Deprecated public Short next()
ShortIteratornext in interface ShortIteratornext in interface Iterator<Short>public short nextShort()
ShortIteratornextShort in interface ShortIteratorIterator.next()public int skip(int n)
ShortIteratorThe effect of this call is exactly the same as that of calling ShortIterator.next() for n times (possibly stopping if Iterator.hasNext() becomes false).
skip in interface ShortIteratorn - the number of elements to skip.Iterator.next()Copyright © 2020. All rights reserved.