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, nextprivate IntIterator proxied
UnmodifiableIntIterator(IntIterator iterator)
public void remove()
IntIteratorreturned by me
(optional operation).protected IntIterator getIterator()
getIterator in class ProxyIntIteratorpublic static final IntIterator wrap(IntIterator iterator)
Copyright (c) 2002-2003 - Apache Software Foundation