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