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 void
clear()
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Set
entrySet()
boolean
equals(Object o)
T
get(Object key)
int
hashCode()
boolean
isEmpty()
Set<S>
keySet()
T
put(S key, T value)
void
putAll(Map t)
T
remove(Object key)
int
size()
String
toString()
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:
containsKey
in interfaceMap<S,T>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<S,T>
-
hashCode
public int hashCode()
-
-