Enum Map
suggest changeIntroduction
java.util.EnumMap is the specialized Map implementation for enum keys. It extends AbstractMap and does not extend Enum.
EnumMap<K, V> takes two type arguments. K is the enum type of the keys. V is the type of the mapped values.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents