Package lucee.cli.util
Class EnumerationWrapper<T>
java.lang.Object
lucee.cli.util.EnumerationWrapper<T>
- Type Parameters:
T
- type used
- All Implemented Interfaces:
Enumeration<T>
class to make an enumeration from a ser, map or iterator
-
Constructor Summary
ConstructorsConstructorDescriptionEnumerationWrapper
(Iterator<T> it) EnumerationWrapper
(Map<T, ?> map) EnumerationWrapper
(Set<T> set) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Enumeration
asIterator
-
Constructor Details
-
EnumerationWrapper
- Parameters:
map
- Constructor with a Map
-
EnumerationWrapper
- Parameters:
set
- Constructor with a Set
-
EnumerationWrapper
- Parameters:
it
- Constructor with an iterator
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElements
in interfaceEnumeration<T>
- See Also:
-
nextElement
- Specified by:
nextElement
in interfaceEnumeration<T>
- See Also:
-