E
- the data type of the iteratorpublic interface CloneableIterator<E>
extends java.lang.Cloneable
Modifier and Type | Method and Description |
---|---|
CloneableIterator<E> |
clone() |
boolean |
hasNext() |
E |
next() |
boolean hasNext()
E next()
CloneableIterator<E> clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- this should never happen in practice