org.apache.commons.ognl
Class EnumerationIterator<E>
java.lang.Object
org.apache.commons.ognl.EnumerationIterator<E>
- All Implemented Interfaces:
- Iterator<E>
public class EnumerationIterator<E>
- extends Object
- implements Iterator<E>
Object that implements Iterator from an Enumeration
- Author:
- Luke Blanshard (blanshlu@netscape.net), Drew Davidson (drew@ognl.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnumerationIterator
public EnumerationIterator(Enumeration<E> e)
newIterator
public static <T> Iterator<T> newIterator(Enumeration<T> e)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<E>
next
public E next()
- Specified by:
next
in interface Iterator<E>
remove
public void remove()
- Specified by:
remove
in interface Iterator<E>
Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.