Java java.lang.ref Reference fields, constructors, methods, implement or subclass

Example usage for Java java.lang.ref Reference fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.lang.ref Reference.

The text is from its open source code.

Method

voidclear()
Clears this reference object.
booleanenqueue()
Clears this reference object and adds it to the queue with which it is registered, if any.
Tget()
Returns this reference object's referent.
ClassgetClass()
Returns the runtime class of this Object .
inthashCode()
Returns a hash code value for the object.
booleanisEnqueued()
Tells whether or not this reference object has been enqueued, either by the program or by the garbage collector.