public class IteratorEnumerator<E> extends Object implements Enumeration<E>
| Constructor and Description |
|---|
IteratorEnumerator(Iterator<E> i)
Creates a
IteratorEnumerator. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreElements() |
E |
nextElement() |
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