java.lang.ref.WeakReference< T > Class Reference

Inheritance diagram for java.lang.ref.WeakReference< T >:

java.lang.ref.Reference< T >

List of all members.


Detailed Description

WeakReference objects are used to detect referents which are no longer visible.

Since:
1.2

Public Member Functions

 WeakReference (T r)
 Constructs a new instance of this class.
 WeakReference (T r, ReferenceQueue<?super T > q)
 Constructs a new instance of this class.

Constructor & Destructor Documentation

java.lang.ref.WeakReference< T >.WeakReference ( r  ) 

Constructs a new instance of this class.

Parameters:
r referent to track.

java.lang.ref.WeakReference< T >.WeakReference ( r,
ReferenceQueue<?super T >  q 
)

Constructs a new instance of this class.

Parameters:
r referent to track.
q queue to register to the reference object with.


The documentation for this class was generated from the following file:

Genereated on Tue Dec 9 14:09:48 2008 by Doxygen.

(c) Copyright 2005, 2008 The Apache Software Foundation or its licensors, as applicable.