org.apache.tools.ant.util
Class WeakishReference
java.lang.Object
org.apache.tools.ant.util.WeakishReference
public abstract class WeakishReference
extends java.lang.Object
this is a weak reference on java1.2 and up, a hard
reference on java1.1
static WeakishReference | createReference(Object object) - create the appropriate type of reference for the java version
|
abstract Object | get() - Returns this reference object's referent.
|
createReference
public static WeakishReference createReference(Object object)
create the appropriate type of reference for the java version
get
public abstract Object get()
Returns this reference object's referent. If this reference object has
been cleared, then this method returns null
.
- The object to which this reference refers, or
null
if this reference object has been cleared
Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.