Package mondrian.util
Class CacheMap<S,T>
- java.lang.Object
-
- mondrian.util.CacheMap<S,T>
-
-
Constructor Summary
Constructors Constructor Description CacheMap(int size)Creates an empty map with limited size.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)SetentrySet()booleanequals(Object o)Tget(Object key)inthashCode()booleanisEmpty()Set<S>keySet()Tput(S key, T value)voidputAll(Map t)Tremove(Object key)intsize()StringtoString()Collection<T>values()-
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
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<S,T>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<S,T>
-
hashCode
public int hashCode()
-
-