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