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