K
- key typeV
- value typepublic class EnumMap<K extends Enum<K>,V> extends AbstractMap<K,V>
Constructor and Description |
---|
EnumMap(Class<K> type) |
EnumMap(EnumMap<K,? extends V> m) |
EnumMap(Map<K,? extends V> m) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
EnumMap<K,V> |
clone() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object k) |
V |
put(K key,
V value) |
V |
remove(Object key) |
int |
size() |
public void clear()
public boolean containsKey(Object key)
containsKey
in interface Map<K extends Enum<K>,V>
containsKey
in class AbstractMap<K extends Enum<K>,V>
public boolean containsValue(Object value)
containsValue
in interface Map<K extends Enum<K>,V>
containsValue
in class AbstractMap<K extends Enum<K>,V>
Copyright © 2018. All rights reserved.