public static class Internal.MapAdapter<K,V,RealValue> extends AbstractMap<K,V>
Map<K, RealValue>
and provide a Map<K, V>
interface.Modifier and Type | Class and Description |
---|---|
static interface |
Internal.MapAdapter.Converter<A,B>
An interface used to convert between two types.
|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
MapAdapter(Map<K,RealValue> realMap,
Internal.MapAdapter.Converter<RealValue,V> valueConverter) |
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
static <T extends Internal.EnumLite> |
newEnumConverter(Internal.EnumLiteMap<T> enumMap,
T unrecognizedValue) |
V |
put(K key,
V value) |
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, remove, size, toString, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public static <T extends Internal.EnumLite> Internal.MapAdapter.Converter<Integer,T> newEnumConverter(Internal.EnumLiteMap<T> enumMap, T unrecognizedValue)
Copyright © 2008–2019. All rights reserved.