public class IteratorEnumerator<E> extends Object implements Enumeration<E>
| Constructor and Description |
|---|
IteratorEnumerator(Iterator<E> i)
Creates a
IteratorEnumerator. |
public IteratorEnumerator(Iterator<E> i)
IteratorEnumerator.public boolean hasMoreElements()
hasMoreElements in interface Enumeration<E>public E nextElement()
nextElement in interface Enumeration<E>Copyright (c) 2006 C. Scott Ananian