public static class IntIterators.UnmodifiableIterator extends Object implements IntIterator
PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong| Constructor and Description |
|---|
UnmodifiableIterator(IntIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
int |
nextInt()
Returns the next element as a primitive type.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, next, skipforEachRemainingpublic UnmodifiableIterator(IntIterator i)
public int nextInt()
IntIteratornextInt in interface IntIteratornextInt in interface PrimitiveIterator.OfIntIterator.next()