protected static class IntIterators.ByteIteratorWrapper extends Object implements IntIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong| Constructor and Description |
|---|
ByteIteratorWrapper(ByteIterator iterator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Integer |
next()
Deprecated.
|
int |
nextInt()
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 Integer next()
IntIteratornext in interface IntIteratornext in interface Iterator<Integer>next in interface PrimitiveIterator.OfIntpublic int nextInt()
IntIteratornextInt in interface IntIteratornextInt in interface PrimitiveIterator.OfIntIterator.next()public int skip(int n)
IntIteratorThe effect of this call is exactly the same as that of calling IntIterator.next() for n times (possibly stopping if Iterator.hasNext() becomes false).
skip in interface IntIteratorn - the number of elements to skip.Iterator.next()Copyright © 2020. All rights reserved.