Example usage for Java java.lang.ref Reference fields, constructors, methods, implement or subclass
The text is from its open source code.
void | clear() Clears this reference object. |
boolean | enqueue() Clears this reference object and adds it to the queue with which it is registered, if any. |
T | get() Returns this reference object's referent. |
Class> | getClass() Returns the runtime class of this Object . |
int | hashCode() Returns a hash code value for the object. |
boolean | isEnqueued() Tells whether or not this reference object has been enqueued, either by the program or by the garbage collector. |