Skip to content

Most visited

Recently visited

navigation
Added in API level 1

java.lang.ref

Classes

PhantomReference<T> Implements a phantom reference, which is the weakest of the three types of references. 
Reference<T> Provides an abstract class which describes behavior common to all reference objects. 
ReferenceQueue<T> The ReferenceQueue is the container on which reference objects are enqueued when the garbage collector detects the reachability type specified for the referent. 
SoftReference<T> A reference that is cleared when its referent is not strongly reachable and there is memory pressure. 
WeakReference<T> Implements a weak reference, which is the middle of the three types of references. 
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.