org.apache.struts.util
Class IteratorAdapter
java.lang.Object
org.apache.struts.util.IteratorAdapter
- Iterator
public class IteratorAdapter
extends java.lang.Object
implements Iterator
Utility method for converting Enumeration to an Iterator
class. If you attempt to remove() an Object from the iterator, it will
throw an UnsupportedOperationException. Added for use by TagLib so
Enumeration can be supported
$Rev: 164530 $ $Date: 2005-04-25 04:11:07 +0100 (Mon, 25 Apr 2005) $
IteratorAdapter
public IteratorAdapter(Enumeration e)
hasNext
public boolean hasNext()
remove
public void remove()
Copyright B) 2000-2007 - The Apache Software Foundation