public class PhantomReference<T> extends Reference<T>
Constructor and Description |
---|
PhantomReference(T r,
ReferenceQueue<? super T> q)
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
T |
get()
Return the referent of the reference object.
|
clear, clone, enqueue, isEnqueued
public PhantomReference(T r, ReferenceQueue<? super T> q)
r
- referent to track.q
- queue to register to the reference object with.Eclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 1993, 2025 IBM Corp. and others.