|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.tools.ant.util.WeakishReference
this is a weak reference on java1.2 and up, a hard reference on java1.1
Nested Class Summary | |
static class |
WeakishReference.HardReference
A hard reference for Java 1.1 |
Constructor Summary | |
WeakishReference()
|
Method Summary | |
static WeakishReference |
createReference(java.lang.Object object)
create the appropriate type of reference for the java version |
abstract java.lang.Object |
get()
Returns this reference object's referent. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WeakishReference()
Method Detail |
public static WeakishReference createReference(java.lang.Object object)
object
-
public abstract java.lang.Object get()
null
.
null
if this reference object has been cleared
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |