equal
deleted
inserted
replaced
61 * Creates a new weak reference that refers to the given object and is |
61 * Creates a new weak reference that refers to the given object and is |
62 * registered with the given queue. |
62 * registered with the given queue. |
63 * |
63 * |
64 * @param referent object the new weak reference will refer to |
64 * @param referent object the new weak reference will refer to |
65 * @param q the queue with which the reference is to be registered, |
65 * @param q the queue with which the reference is to be registered, |
66 * or <tt>null</tt> if registration is not required |
66 * or {@code null} if registration is not required |
67 */ |
67 */ |
68 public WeakReference(T referent, ReferenceQueue<? super T> q) { |
68 public WeakReference(T referent, ReferenceQueue<? super T> q) { |
69 super(referent, q); |
69 super(referent, q); |
70 } |
70 } |
71 |
71 |