public static class IntIterators.UnmodifiableIterator extends AbstractIntIterator
| Constructor and Description |
|---|
IntIterators.UnmodifiableIterator(IntIterator i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
java.lang.Integer |
next()
Delegates to the corresponding type-specific method.
|
int |
nextInt()
Delegates to the corresponding generic method.
|
remove, skippublic IntIterators.UnmodifiableIterator(IntIterator i)
public boolean hasNext()
public int nextInt()
AbstractIntIteratornextInt in interface IntIteratornextInt in class AbstractIntIteratorIterator.next()public java.lang.Integer next()
AbstractIntIteratornext in interface java.util.Iterator<java.lang.Integer>next in class AbstractIntIterator