Module java.base
Package java.lang

Class ClassValue<T>

java.lang.Object
java.lang.ClassValue<T>
Type Parameters:
T - the type of the derived value

public abstract class ClassValue<T> extends Object
Lazily associate a computed value with (potentially) every type. For example, if a dynamic language needs to construct a message dispatch table for each class encountered at a message send call site, it can use a ClassValue to cache information needed to perform the message send quickly, for each class encountered.
Since:
1.7