java.util
public class EnumMap<K extends Enum<K>,V> extends AbstractMap<K,V> implements Cloneable, Serializable
Since: 1.5
Constructor Summary | |
---|---|
EnumMap(Class<K> keyType) | |
EnumMap(EnumMap<K,? extends V> map) | |
EnumMap(Map<K,? extends V> map) |
Method Summary | |
---|---|
void | clear() |
EnumMap<K,V> | clone() |
boolean | containsKey(Object key) |
boolean | containsValue(Object value) |
Set<Entry<K,V>> | entrySet() |
boolean | equals(Object o) |
V | get(Object key) |
Set<K> | keySet() |
V | put(K key, V value) |
void | putAll(Map<? extends K,? extends V> map) |
V | remove(Object key) |
int | size() |
Collection<V> | values() |