public class TrackingMap<K,V> extends Object implements Map<K,V>
Constructor and Description |
---|
TrackingMap(Map<K,V> map) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
boolean |
equals(Object other) |
void |
expungeUnused() |
V |
get(Object key) |
Map |
getWrappedMap() |
int |
hashCode() |
void |
informAdditionalUsage(Collection<K> additional) |
void |
informAdditionalUsage(TrackingMap<K,V> additional) |
boolean |
isEmpty() |
Set<K> |
keySet() |
Set<K> |
keysUsed() |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> m) |
V |
remove(Object key) |
int |
size() |
String |
toString() |
Collection<V> |
values() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public boolean containsKey(Object key)
containsKey
in interface Map<K,V>
public boolean equals(Object other)
public int hashCode()
public boolean containsValue(Object value)
containsValue
in interface Map<K,V>
public void expungeUnused()
public void informAdditionalUsage(Collection<K> additional)
public void informAdditionalUsage(TrackingMap<K,V> additional)
public Map getWrappedMap()
Copyright © 2016. All rights reserved.