Class EnumerationWrapper<T>

java.lang.Object
lucee.cli.util.EnumerationWrapper<T>
Type Parameters:
T - type used
All Implemented Interfaces:
Enumeration<T>

public final class EnumerationWrapper<T> extends Object implements Enumeration<T>
class to make an enumeration from a ser, map or iterator
  • Constructor Details

    • EnumerationWrapper

      public EnumerationWrapper(Map<T,?> map)
      Parameters:
      map - Constructor with a Map
    • EnumerationWrapper

      public EnumerationWrapper(Set<T> set)
      Parameters:
      set - Constructor with a Set
    • EnumerationWrapper

      public EnumerationWrapper(Iterator<T> it)
      Parameters:
      it - Constructor with an iterator
  • Method Details