V
- the type of value in this ClassLocalpublic class ClassLocal<V> extends ClassValue<V>
Modifier and Type | Method and Description |
---|---|
protected V |
computeValue(Class<?> type) |
static <V> ClassLocal<V> |
withInitial(Function<Class<?>,V> classVFunction)
Function to create a value to cache information associated with a Class
|
get, remove
@NotNull public static <V> ClassLocal<V> withInitial(Function<Class<?>,V> classVFunction)
V
- the type of value in this ClassLocalclassVFunction
- to generate the associated value.protected V computeValue(Class<?> type)
computeValue
in class ClassValue<V>
Copyright © 2017. All rights reserved.