package saker.util.ref
Class extending WeakReference and also implementing Supplier.
TThe type of the referent.
public | SupplierWeakReference( Creates a new weak reference that refers to the given object. |
public | SupplierWeakReference( Creates a new weak reference that refers to the given object and is
registered with the given queue. |
Documentation included from: WeakReference
Creates a new weak reference that refers to the given object. The new
reference is not registered with any queue.
referentobject the new weak reference will refer to
Documentation included from: WeakReference
Creates a new weak reference that refers to the given object and is
registered with the given queue.
referentobject the new weak reference will refer to
qthe queue with which the reference is to be registered,
or null if registration is not required