WeakReference
directly.public class WeakishReference
extends java.lang.Object
WeakishReference12
Modifier and Type | Class and Description |
---|---|
static class |
WeakishReference.HardReference
Deprecated.
since 1.7.
Hopefully nobody is using this.
|
Modifier and Type | Method and Description |
---|---|
static WeakishReference |
createReference(java.lang.Object object)
Deprecated.
create the appropriate type of reference for the java version
|
java.lang.Object |
get()
Deprecated.
Returns this reference object's referent.
|
public java.lang.Object get()
null
.null
if this reference object has been cleared.public static WeakishReference createReference(java.lang.Object object)
object
- the object that the reference will refer to.