Package org.apache.commons.ognl
Class IteratorEnumeration<T>
java.lang.Object
org.apache.commons.ognl.IteratorEnumeration<T>
- All Implemented Interfaces:
Enumeration<T>
Maps an Iterator to an Enumeration
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic <E> Enumeration<E> newEnumeration(Iterator<E> iterator)
-
Field Details
-
it
-
-
Constructor Details
-
IteratorEnumeration
-
-
Method Details
-
newEnumeration
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElementsin interfaceEnumeration<T>
-
nextElement
- Specified by:
nextElementin interfaceEnumeration<T>
-