Class ModifyAwareMap<K,V>
java.lang.Object
io.ebeaninternal.json.ModifyAwareMap<K,V>
- All Implemented Interfaces:
io.ebean.ModifyAwareType, Serializable, Map<K,V>
public final class ModifyAwareMap<K,V>
extends Object
implements Map<K,V>, io.ebean.ModifyAwareType, Serializable
Map that is wraps an underlying map for the purpose of detecting changes.
- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionModifyAwareMap(io.ebean.ModifyAwareType owner, Map<K, V> underlying) ModifyAwareMap(Map<K, V> underlying) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()booleanfreeze()inthashCode()booleanisEmpty()booleankeySet()voidvoidsetMarkedDirty(boolean markedDirty) intsize()toString()values()Methods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
ModifyAwareMap
-
ModifyAwareMap
-
-
Method Details
-
toString
-
equals
-
hashCode
-
freeze
-
isMarkedDirty
public boolean isMarkedDirty()- Specified by:
isMarkedDirtyin interfaceio.ebean.ModifyAwareType
-
setMarkedDirty
public void setMarkedDirty(boolean markedDirty) - Specified by:
setMarkedDirtyin interfaceio.ebean.ModifyAwareType
-
size
-
isEmpty
-
containsKey
- Specified by:
containsKeyin interfaceMap<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V>
-
get
-
put
-
remove
-
putAll
-
clear
-
keySet
-
values
-
entrySet
-