public static class LongIterators.UnmodifiableIterator extends Object implements LongIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong| Modifier and Type | Field and Description |
|---|---|
protected LongIterator |
i |
| Constructor and Description |
|---|
UnmodifiableIterator(LongIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
long |
nextLong()
Returns the next element as a primitive type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, next, skipforEachRemainingprotected final LongIterator i
public UnmodifiableIterator(LongIterator i)
public long nextLong()
LongIteratornextLong in interface LongIteratornextLong in interface PrimitiveIterator.OfLongIterator.next()Copyright © 2020. All rights reserved.