public static class IntIterators.UnmodifiableIterator extends AbstractIntIterator
| Constructor and Description |
|---|
UnmodifiableIterator(IntIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
int |
nextInt()
Returns the next element as a primitive type.
|
next, remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic UnmodifiableIterator(IntIterator i)
public boolean hasNext()
public int nextInt()
AbstractIntIteratorThis implementation delegates to the corresponding generic method.
nextInt in interface IntIteratornextInt in class AbstractIntIteratorIterator.next()