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, next
private LongIterator proxied
UnmodifiableLongIterator(LongIterator iterator)
public void remove()
LongIterator
returned
by me
(optional operation).protected LongIterator getIterator()
getIterator
in class ProxyLongIterator
public static final LongIterator wrap(LongIterator iterator)
Copyright (c) 2002-2003 - Apache Software Foundation