public class EnumerationIterator
extends java.lang.Object
implements java.util.Iterator
| Modifier and Type | Field and Description |
|---|---|
private java.util.Enumeration |
enum
The enumeration to iterate.
|
| Constructor and Description |
|---|
EnumerationIterator(java.util.Enumeration enum)
Creates a new iteratorwrapper instance for the specified
Enumeration.
|
public EnumerationIterator(java.util.Enumeration enum)
enum - The Enumeration to wrap.public java.lang.Object next()
next in interface java.util.Iteratorpublic boolean hasNext()
hasNext in interface java.util.Iteratorpublic void remove()
remove in interface java.util.IteratorCopyright ? 2002 Apache Software Foundation. All Rights Reserved.