Package io.undertow.servlet.util
Class IteratorEnumeration<T>
java.lang.Object
io.undertow.servlet.util.IteratorEnumeration<T>
- All Implemented Interfaces:
Enumeration<T>
Wrapper to convert an iterator to an enumeration
- Author:
- Stuart Douglas
-
Constructor Details
-
IteratorEnumeration
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElements
in interfaceEnumeration<T>
-
nextElement
- Specified by:
nextElement
in interfaceEnumeration<T>
-