Example usage for Java java.lang.ref SoftReference fields, constructors, methods, implement or subclass
The text is from its open source code.
SoftReference(T referent) Creates a new soft reference that refers to the given object. | |
SoftReference(T referent, ReferenceQueue super T> q) Creates a new soft reference that refers to the given object and is registered with the given queue. |
T | get() Returns this reference object's referent. |