Class MapField.MutabilityAwareMap<K,V>
java.lang.Object
com.google.protobuf.MapField.MutabilityAwareMap<K,V>
- All Implemented Interfaces:
Map<K,V>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classAn internal collection that checks for mutability before delegating.private static classAn internal iterator that checks for mutability before delegating.private static classAn internal set that checks for mutability before delegating. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
mutabilityOracle
-
delegate
-
-
Constructor Details
-
MutabilityAwareMap
MutabilityAwareMap(MutabilityOracle mutabilityOracle, Map<K, V> delegate)
-
-
Method Details
-
size
-
isEmpty
-
containsKey
- Specified by:
containsKeyin interfaceMap<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V>
-
get
-
put
-
remove
-
putAll
-
clear
-
keySet
-
values
-
entrySet
-
equals
-
hashCode
-
toString
-