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