Example usage for Java java.lang.ref ReferenceQueue fields, constructors, methods, implement or subclass
The text is from its open source code.
ReferenceQueue() Constructs a new reference-object queue. |
Reference extends T> | poll() Polls this queue to see if a reference object is available. |
Reference extends T> | remove() Removes the next reference object in this queue, blocking until one becomes available. |