org.codehaus.groovy.reflection
Class ClassInfo.LocalMap
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<java.lang.Class,ClassInfo>
org.codehaus.groovy.reflection.ClassInfo.LocalMap
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Class,ClassInfo>
- Enclosing class:
- ClassInfo
private static final class ClassInfo.LocalMap
- extends java.util.HashMap<java.lang.Class,ClassInfo>
Nested classes/interfaces inherited from class java.util.AbstractMap |
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
CACHE_SIZE
private static final int CACHE_SIZE
- See Also:
- Constant Field Values
myThread
private final java.lang.ref.PhantomReference<java.lang.Thread> myThread
nextCacheEntry
private int nextCacheEntry
cache
private final ClassInfo[] cache
NOINFO
private static final ClassInfo NOINFO
ClassInfo.LocalMap
private ClassInfo.LocalMap()
get
public ClassInfo get(java.lang.Class key)
getFromCache
private ClassInfo getFromCache(java.lang.Class klazz)
putToCache
private ClassInfo putToCache(ClassInfo classInfo)
Copyright © ${year} The Codehaus. All Rights Reserved.