public class CheckedEnumMap<D extends Enum<D>,R> extends EnumMap<D,R> implements Map_checkedRight<D,R>, Map_checkedLeft<D,R>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CheckedEnumMap(Class<D> d) |
CheckedEnumMap(EnumMap<D,R> data) |
CheckedEnumMap(Map<D,R> data) |
| Modifier and Type | Method and Description |
|---|---|
Set<Map.Entry<D,R>> |
entrySet()
Needs special implementation of entrySet, Iterator and Map.Entry for
prohibiting "setValue(null)"!
|
R |
put(D key,
R value) |
void |
putAll(Map<? extends D,? extends R> t) |
clear, clone, containsKey, containsValue, equals, get, hashCode, keySet, remove, size, valuesisEmpty, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuessee also the complete user documentation .