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
|
protected ClassMap(ClassLoader classLoader)
classLoader
- the classloader that determines strong referenceability.protected abstract T computeValue(Class<?> clazz)
clazz
- the class to compute the value forCopyright © 2017 Attila Szegedi. All rights reserved.