Reputation: 31
I currently looking to master every classes in Java.lang but couldn't understand the use of ClassValue. I have seen the official documentation, it says,
public abstract class ClassValue 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.
Please help me, I am very curious..
Upvotes: 2
Views: 99