T - the type of the values in the mappublic abstract class ClassMap<T> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
ClassMap(ClassLoader classLoader)
Creates a new class map.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
computeValue(Class<?> clazz)
Compute the value associated with the given class.
|
T |
get(Class<?> clazz)
Returns the value associated with the class
|
ClassLoader |
getClassLoader()
Returns the class loader that governs the strong referenceability of this class map.
|
protected ClassMap(ClassLoader classLoader)
classLoader - the classloader that determines strong referenceability.protected abstract T computeValue(Class<?> clazz)
clazz - the class to compute the value forpublic ClassLoader getClassLoader()
Copyright © 2013 Attila Szegedi. All Rights Reserved.