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