API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.lang.ref. Reference View Source
Author(s)
Mark Reinhold
Since
1.2
Version
1.43, 04/10/06
Serial
Hierarchy
 Object
      Reference
Implements
Subclasses
Description
publicabstract abstract class Reference
  Abstract base class for reference objects.
See also:   
Constructors
pack-private Reference ( T referent)
pack-private Reference ( T referent, ReferenceQueue<Object> queue)
Methods
Hide/Show inherited methods
public void clear ()
  Clears this reference object.
public boolean enqueue ()
  Adds this reference object to the queue with which it is registered, if any.
public T get ()
  Returns this reference object's referent.
public boolean isEnqueued ()
  Tells whether or not this reference object has been enqueued, either by the program or by the garbage collector.
Fields
Hide/Show inherited fields
pack-private Reference next
pack-private ReferenceQueue<Object> queue
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar