Home | History | Annotate | Download | only in collections

Lines Matching refs:referent

674          * Constructs a reference of the given type to the given referent.
678 * @param referent the object to refer to
680 * this number might be different from referent.hashCode() if
681 * the referent represents a value and not a key
683 protected <T> Reference<T> toReference(int type, T referent, int hash) {
686 return new SoftRef<T>(hash, referent, parent.queue);
688 return new WeakRef<T>(hash, referent, parent.queue);