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

- Packages that use ReferenceQueue
  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.

- - ### Uses of ReferenceQueue in java.lang.ref

    Constructors in java.lang.ref with parameters of type ReferenceQueue
    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.

  - ### Uses of ReferenceQueue in org.openide.util.lookup.implspi

    Methods in org.openide.util.lookup.implspi that return ReferenceQueue
    Modifier and Type | Method and Description
    --- | ---
    `static ReferenceQueue<Object>` | ActiveQueue.`queue()` Gets the active reference queue.

Copyright © 2025 API Design. All Rights Reserved.