Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.lang.ref.Reference

Packages that use Reference
java.lang.ref | Provides reference-object classes, which support a limited degree of interaction with the garbage collector.

Uses of Reference in java.lang.ref

Subclasses of Reference in java.lang.ref
`class` | `PhantomReference` Phantom reference objects, which are enqueued after the collector determines that their referents may otherwise be reclaimed.
`class` | `SoftReference` Soft reference objects, which are cleared at the discretion of the garbage collector in response to memory demand.
`class` | `WeakReference` Weak reference objects, which do not prevent their referents from being made finalizable, finalized, and then reclaimed.

Methods in java.lang.ref that return Reference
`Reference` | `ReferenceQueue.poll()` Polls this queue to see if a reference object is available, returning one immediately if so.
`Reference` | `ReferenceQueue.remove(long timeout)` Removes the next reference object in this queue, blocking until either one becomes available or the given timeout period expires.
`Reference` | `ReferenceQueue.remove()` Removes the next reference object in this queue, blocking until one becomes available.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.