Package org.apache.commons.ognl.internal
Class ClassCacheImpl<V>
- java.lang.Object
-
- org.apache.commons.ognl.internal.ClassCacheImpl<V>
-
- All Implemented Interfaces:
Cache<Class<?>,V>
,ClassCache<V>
public class ClassCacheImpl<V> extends Object implements ClassCache<V>
Implementation ofClassCache
.
-
-
Constructor Summary
Constructors Constructor Description ClassCacheImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
V
get(Class<?> key)
int
getSize()
V
put(Class<?> key, V value)
void
setClassInspector(ClassCacheInspector inspector)
String
toString()
-
-
-
Method Detail
-
setClassInspector
public void setClassInspector(ClassCacheInspector inspector)
- Specified by:
setClassInspector
in interfaceClassCache<V>
-
get
public final V get(Class<?> key) throws CacheException
- Specified by:
get
in interfaceCache<Class<?>,V>
- Throws:
CacheException
-
-