| Package | Description |
|---|---|
| java.lang.ref |
Provides reference-object classes, which support a limited degree of
interaction with the garbage collector.
|
| org.openide.util.lookup.implspi |
Interfaces intended to be used within the NetBeans Platform.
|
| Constructor and Description |
|---|
PhantomReference(T referent,
ReferenceQueue<? super T> q)
Creates a new phantom reference that refers to the given object and
is registered with the given queue.
|
SoftReference(T referent,
ReferenceQueue<? super T> q)
Creates a new soft reference that refers to the given object and is
registered with the given queue.
|
WeakReference(T referent,
ReferenceQueue<? super T> q)
Creates a new weak reference that refers to the given object and is
registered with the given queue.
|
| Modifier and Type | Method and Description |
|---|---|
static ReferenceQueue<Object> |
ActiveQueue.queue()
Gets the active reference queue.
|
Copyright © 2025 API Design. All Rights Reserved.