Reference

Class Reference<T>

Direct Known Subclasses:
PhantomReference, SoftReference, WeakReference
public abstract class Reference<T>
extends Object

Abstract base class for reference objects. This class defines the operations common to all reference objects. Because reference objects are implemented in close cooperation with the garbage collector, this class may not be subclassed directly.

Since:
1.2

Methods

get

public T get()

Returns this reference obj