@Generated(value="proto")
public static class Internal.MapAdapter<K,V,RealValue>
extends java.util.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.
|
Constructor and Description |
---|
MapAdapter(java.util.Map<K,RealValue> realMap,
Internal.MapAdapter.Converter<RealValue,V> valueConverter) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
V |
get(java.lang.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
public MapAdapter(java.util.Map<K,RealValue> realMap, Internal.MapAdapter.Converter<RealValue,V> valueConverter)
public static <T extends Internal.EnumLite> Internal.MapAdapter.Converter<java.lang.Integer,T> newEnumConverter(Internal.EnumLiteMap<T> enumMap, T unrecognizedValue)
public V get(java.lang.Object key)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.