public final class UnmodifiableIntIterator extends ProxyIntIterator
Modifier and Type | Field and Description |
---|---|
private IntIterator |
proxied |
Constructor and Description |
---|
UnmodifiableIntIterator(IntIterator iterator) |
Modifier and Type | Method and Description |
---|---|
protected IntIterator |
getIterator() |
void |
remove()
Removes from my underlying collection the last
element
returned by me
(optional operation). |
static IntIterator |
wrap(IntIterator iterator) |
hasNext, next
private IntIterator proxied
UnmodifiableIntIterator(IntIterator iterator)
public void remove()
IntIterator
returned
by me
(optional operation).protected IntIterator getIterator()
getIterator
in class ProxyIntIterator
public static final IntIterator wrap(IntIterator iterator)
Copyright (c) 2002-2003 - Apache Software Foundation