public class ClassCacheImpl extends java.lang.Object implements ClassCache
ClassCache.| Modifier and Type | Field and Description |
|---|---|
private ClassCacheInspector |
_classInspector |
private int |
_size |
private Entry[] |
_table |
private static int |
TABLE_SIZE |
private static int |
TABLE_SIZE_MASK |
| Constructor and Description |
|---|
ClassCacheImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
java.lang.Object |
get(java.lang.Class key) |
int |
getSize() |
java.lang.Object |
put(java.lang.Class key,
java.lang.Object value) |
void |
setClassInspector(ClassCacheInspector inspector) |
java.lang.String |
toString() |
private static final int TABLE_SIZE
private static final int TABLE_SIZE_MASK
private Entry[] _table
private ClassCacheInspector _classInspector
private int _size
public void setClassInspector(ClassCacheInspector inspector)
setClassInspector in interface ClassCachepublic void clear()
clear in interface ClassCachepublic int getSize()
getSize in interface ClassCachepublic final java.lang.Object get(java.lang.Class key)
get in interface ClassCachepublic final java.lang.Object put(java.lang.Class key,
java.lang.Object value)
put in interface ClassCachepublic java.lang.String toString()
toString in class java.lang.Object