Class CheckedEnumMap<D extends Enum<D>,R>

java.lang.Object
java.util.AbstractMap<K,V>
java.util.EnumMap<D,R>
eu.bandm.tools.umod.runtime.CheckedEnumMap<D,R>
All Implemented Interfaces:
Map_checkedLeft<D,R>, Map_checkedRight<D,R>, Serializable, Cloneable, Map<D,R>

public class CheckedEnumMap<D extends Enum<D>,R> extends EnumMap<D,R> implements Map_checkedRight<D,R>, Map_checkedLeft<D,R>
Implements a map from an enum type to a strict range (no null objects on the right side.)
See Also:
  • Constructor Details

    • CheckedEnumMap

      public CheckedEnumMap(Class<D> d)
    • CheckedEnumMap

      public CheckedEnumMap(Map<D,R> data)
    • CheckedEnumMap

      public CheckedEnumMap(EnumMap<D,R> data)
  • Method Details