Class Internal.MapAdapter<K,V,RealValue> (3.19.4)

public static class Internal.MapAdapter<K,V,RealValue> extends AbstractMap<K,V>

Wrap around a Map<K, RealValue> and provide a Map<K, V> interface.

Inheritance

Object > AbstractMap > Internal.MapAdapter<K,V,RealValue>

Type Parameters

NameDescription
K
V
RealValue

Static Methods

<T>newEnumConverter(Internal.EnumLiteMap<T> enumMap, T unrecognizedValue)

public static Internal.MapAdapter.Converter<Integer,T> <T>newEnumConverter(Internal.EnumLiteMap<T> enumMap, T unrecognizedValue)
Parameters
NameDescription
enumMapEnumLiteMap<T>
unrecognizedValueT
Returns
TypeDescription
Converter<Integer,T>

Constructors

MapAdapter(Map<K,RealValue> realMap, Internal.MapAdapter.Converter<RealValue,V> valueConverter)

public MapAdapter(Map<K,RealValue> realMap, Internal.MapAdapter.Converter<RealValue,V> valueConverter)
Parameters
NameDescription
realMapMap<K,RealValue>
valueConverterConverter<RealValue,V>

Methods

entrySet()

public Set<Map.Entry<K,V>> entrySet()
Returns
TypeDescription
Set<Entry<K,V>>
Overrides

get(Object key)

public V get(Object key)
Parameter
NameDescription
keyObject
Returns
TypeDescription
V
Overrides

put(K key, V value)

public V put(K key, V value)
Parameters
NameDescription
keyK
valueV
Returns
TypeDescription
V
Overrides