public final class ReadOnlyIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
Modifier and Type | Field and Description |
---|---|
private java.util.Iterator<? extends T> |
iterator |
Constructor and Description |
---|
ReadOnlyIterator(java.util.Iterator<? extends T> iterator) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |