| |
|
| java.lang.Object org.apache.velocity.util.EnumerationIterator
EnumerationIterator | public class EnumerationIterator implements Iterator(Code) | | An Iterator wrapper for an Enumeration.
author: Geir Magnusson Jr. version: $Id: EnumerationIterator.java 463298 2006-10-12 16:10:32Z henning $ |
Method Summary | |
public boolean | hasNext() Check to see if there is another element in the array. | public Object | next() Move to next element in the array. | public void | remove() Unimplemented. |
EnumerationIterator | public EnumerationIterator(Enumeration enumeration)(Code) | | Creates a new iteratorwrapper instance for the specified
Enumeration.
Parameters: enumeration - The Enumeration to wrap. |
hasNext | public boolean hasNext()(Code) | | Check to see if there is another element in the array.
Whether there is another element. |
next | public Object next()(Code) | | Move to next element in the array.
The next object in the array. |
remove | public void remove()(Code) | | Unimplemented. No analogy in Enumeration
|
|
|
|