public class EnumerationIterator extends Object implements Iterator
Constructor and Description |
---|
EnumerationIterator(Enumeration enumeration)
Creates a new iteratorwrapper instance for the specified
Enumeration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Check to see if there is another element in the array.
|
Object |
next()
Move to next element in the array.
|
void |
remove()
Unimplemented.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public EnumerationIterator(Enumeration enumeration)
enumeration
- The Enumeration to wrap.public Object next()
public boolean hasNext()
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.