public static class IntIterators.UnmodifiableIterator extends AbstractIntIterator
| Constructor and Description |
|---|
UnmodifiableIterator(IntIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Integer |
next()
Delegates to the corresponding type-specific method.
|
int |
nextInt()
Delegates to the corresponding generic method.
|
remove, skipequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic UnmodifiableIterator(IntIterator i)
public boolean hasNext()
public int nextInt()
AbstractIntIteratornextInt in interface IntIteratornextInt in class AbstractIntIteratorIterator.next()public Integer next()
AbstractIntIteratornext in interface Iterator<Integer>next in class AbstractIntIterator