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