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