public abstract class Reference<T> extends Object
Modifier and Type | Method and Description |
---|---|
void |
clear()
Make the referent null.
|
protected Object |
clone()
This method will always throw CloneNotSupportedException.
|
boolean |
enqueue()
Force the reference object to be enqueued if it has been associated with a queue.
|
T |
get()
Return the referent of the reference object.
|
boolean |
isEnqueued()
Return whether the reference object has been enqueued.
|
public void clear()
public boolean enqueue()
public T get()
public boolean isEnqueued()
protected Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
- always since a Reference cannot be clonedEclipse OpenJ9 website.
To raise a bug report or suggest an improvement create an Eclipse OpenJ9 issue.
Copyright © 1993, 2025 IBM Corp. and others.