public class Enumerator
extends java.lang.Object
implements java.util.Iterator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
REVISION |
| Constructor and Description |
|---|
Enumerator(java.util.Enumeration enu)
Creates an iterator wraps around the given enumeration
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Checks whether there are more elements to be processed.
|
java.lang.Object |
next()
Returns the next element in the iteration.
|
void |
remove()
Removes from the underlying collection the last element returned
by the iterator.
|
public static final java.lang.String REVISION
public Enumerator(java.util.Enumeration enu)
enu - enumeration on the data.public final boolean hasNext()
hasNext in interface java.util.IteratorEnumeration.hasMoreElements()public final java.lang.Object next()
next in interface java.util.IteratorEnumeration.nextElement()public final void remove()
throws java.lang.UnsupportedOperationException
remove in interface java.util.Iteratorjava.lang.UnsupportedOperationExceptionCopyright © 2001-2010 Jalios SA. All Rights Reserved.