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

Name Description
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
Name Description
enumMap EnumLiteMap<T>
unrecognizedValue T
Returns
Type Description
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
Name Description
realMap Map<K,RealValue>
valueConverter Converter<RealValue,V>

Methods

entrySet()

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

get(Object key)

public V get(Object key)
Parameter
Name Description
key Object
Returns
Type Description
V
Overrides

put(K key, V value)

public V put(K key, V value)
Parameters
Name Description
key K
value V
Returns
Type Description
V
Overrides