类 WeakCacheKey<T>

java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference<T>
cn.taketoday.bytecode.core.WeakCacheKey<T>
类型参数:
T - type of the reference

public class WeakCacheKey<T> extends WeakReference<T>
Allows to check for object equality, yet the class does not keep strong reference to the target. equals(Object) returns true if and only if the reference is not yet expired and target objects are equal in terms of equals(Object).

This an internal class, thus it might disappear in future cglib releases.

  • 字段详细资料

    • hash

      private final int hash
  • 构造器详细资料

    • WeakCacheKey

      public WeakCacheKey(T referent)
  • 方法详细资料