org.apache.velocity.util
public class EnumerationIterator extends Object implements Iterator
Version: $Id: EnumerationIterator.java,v 1.1.14.1 2004/03/03 23:23:07 geirm Exp $
| Field Summary | |
|---|---|
| Enumeration | enumer
The enumeration to iterate. |
| Constructor Summary | |
|---|---|
| EnumerationIterator(Enumeration enumer)
Creates a new iteratorwrapper instance for the specified
Enumeration.
| |
| Method Summary | |
|---|---|
| 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. |
Parameters: enumer The Enumeration to wrap.
Returns: Whether there is another element.
Returns: The next object in the array.