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 TypeMethodDescriptionboolean
static <E> Enumeration
<E> newEnumeration
(Iterator<E> iterator)
-
Field Details
-
it
-
-
Constructor Details
-
IteratorEnumeration
-
-
Method Details
-
newEnumeration
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElements
in interfaceEnumeration<T>
-
nextElement
- Specified by:
nextElement
in interfaceEnumeration<T>
-