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>
Implementation of
ClassCache
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ClassCacheInspector
private int
private static final int
private static final int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TABLE_SIZE
private static final int TABLE_SIZE- See Also:
-
TABLE_SIZE_MASK
private static final int TABLE_SIZE_MASK- See Also:
-
table
-
classInspector
-
size
private int size
-
-
Constructor Details
-
ClassCacheImpl
public ClassCacheImpl()
-
-
Method Details
-
setClassInspector
- Specified by:
setClassInspector
in interfaceClassCache<V>
-
clear
public void clear() -
getSize
public int getSize() -
get
- Specified by:
get
in interfaceCache<Class<?>,
V> - Throws:
CacheException
-
put
-
toString
-