E
- Typepublic class NoRemoveIterator<E>
extends java.lang.Object
implements java.util.Iterator<E>
Constructor and Description |
---|
NoRemoveIterator(java.util.Iterator<E> it)
Constructs a iterator using the specified iterator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
E |
next() |
void |
remove() |
public NoRemoveIterator(java.util.Iterator<E> it)
it
- original iterator