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
persistChangeMethods 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
-
ChangeTrackingIndirectMap
-
-
Method Details
-
unwrap
Description copied from interface:IndirectWrapperRetrieves the wrapped object.- Specified by:
unwrapin interfaceIndirectWrapper<K>- Returns:
- The wrapped object
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-