java.lang.Object
net.odoframework.util.TrackedMap<K,V>
- All Implemented Interfaces:
Map<K,V>
public class TrackedMap<K,V> extends Object implements Map<K,V>
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description TrackedMap()TrackedMap(Map<K,V> backingMap) -
Method Summary
Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<K,V>>entrySet()Vget(Object key)Map<K,V>getBackingMap()Set<K>getChangedKeys()booleanisEmpty()Set<K>keySet()Vput(K key, V value)voidputAll(Map<? extends K,? extends V> m)Vremove(Object key)intsize()Collection<V>values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
TrackedMap
-
TrackedMap
public TrackedMap()
-
-
Method Details
-
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
-
getBackingMap
-
getChangedKeys
-