Package com.google.protobuf
Class Internal.MapAdapter<K,V,RealValue>
java.lang.Object
java.util.AbstractMap<K,V>
com.google.protobuf.Internal.MapAdapter<K,V,RealValue>
- All Implemented Interfaces:
Map<K,
V>
- Enclosing class:
Internal
Wrap around a
Map<K, RealValue>
and provide a Map<K, V>
interface.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
An interface used to convert between two types.Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
ConstructorsConstructorDescriptionMapAdapter
(Map<K, RealValue> realMap, Internal.MapAdapter.Converter<RealValue, V> valueConverter) -
Method Summary
Modifier and TypeMethodDescriptionentrySet()
static <T extends Internal.EnumLite>
Internal.MapAdapter.Converter<Integer, T> newEnumConverter
(Internal.EnumLiteMap<T> enumMap, T unrecognizedValue) Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, remove, size, toString, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
MapAdapter
-
-
Method Details
-
newEnumConverter
public static <T extends Internal.EnumLite> Internal.MapAdapter.Converter<Integer,T> newEnumConverter(Internal.EnumLiteMap<T> enumMap, T unrecognizedValue) -
get
-
put
-
entrySet
-