Package cz.cvut.kbss.jopa.proxy.change
Class ChangeTrackingIndirectMap<K,V>
java.lang.Object
cz.cvut.kbss.jopa.proxy.change.ChangeTrackingIndirectCollection<Map<K,V>>
cz.cvut.kbss.jopa.proxy.change.ChangeTrackingIndirectMap<K,V>
- All Implemented Interfaces:
IndirectWrapper<Map<K,
,V>> Map<K,
V>
public class ChangeTrackingIndirectMap<K,V>
extends ChangeTrackingIndirectCollection<Map<K,V>>
implements Map<K,V>
-
Nested Class Summary
-
Field Summary
Fields inherited from class cz.cvut.kbss.jopa.proxy.change.ChangeTrackingIndirectCollection
field, owner, persistenceContext
-
Constructor Summary
ConstructorsConstructorDescriptionChangeTrackingIndirectMap
(Object owner, Field f, UnitOfWork persistenceContext, Map<K, V> referencedMap) -
Method Summary
Methods inherited from class cz.cvut.kbss.jopa.proxy.change.ChangeTrackingIndirectCollection
persistChange
Methods inherited from class java.lang.Object
clone, 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
-
ChangeTrackingIndirectMap
-
-
Method Details
-
unwrap
Description copied from interface:IndirectWrapper
Retrieves the wrapped object.- Specified by:
unwrap
in interfaceIndirectWrapper<K>
- Returns:
- The wrapped object
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKey
in interfaceMap<K,
V>
-
containsValue
- Specified by:
containsValue
in interfaceMap<K,
V>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
equals
-
hashCode
public int hashCode() -
toString
-