public abstract class AbstractIterator<E>
extends java.lang.Object
implements java.util.Iterator<E>
remove()
defined to throw an
UnsupportedOperationException
.Constructor and Description |
---|
AbstractIterator() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
hasNext() |
abstract E |
next() |
void |
remove()
Throws an
UnsupportedOperationException . |