| |
|
| java.lang.Object org.apache.commons.jexl.util.EnumerationIterator
EnumerationIterator | public class EnumerationIterator implements Iterator(Code) | | An Iterator wrapper for an Enumeration.
since: 1.0 author: Geir Magnusson Jr. version: $Id: EnumerationIterator.java 398330 2006-04-30 12:52:35Z dion $ |
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 enumer)(Code) | | Creates a new iteratorwrapper instance for the specified
Enumeration.
Parameters: enumer - 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
|
|
|
|