protected static class LongIterators.ByteIteratorWrapper extends Object implements LongIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong| Constructor and Description |
|---|
ByteIteratorWrapper(ByteIterator iterator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Long |
next()
Deprecated.
|
long |
nextLong()
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 ByteIteratorWrapper(ByteIterator iterator)
@Deprecated public Long next()
LongIteratornext in interface LongIteratornext in interface Iterator<Long>next in interface PrimitiveIterator.OfLongpublic long nextLong()
LongIteratornextLong in interface LongIteratornextLong in interface PrimitiveIterator.OfLongIterator.next()public int skip(int n)
LongIteratorThe effect of this call is exactly the same as that of calling LongIterator.next() for n times (possibly stopping if Iterator.hasNext() becomes false).
skip in interface LongIteratorn - the number of elements to skip.Iterator.next()Copyright © 2020. All rights reserved.