Deprecated
deprecated 1.7; will be removed in Ant1.8
Just use java. directly.
org.apache.tools.ant.util.optional.WeakishReference12
| Modifier and Type | Class and Description |
|---|---|
| public static class | WeakishReference.
Deprecated
since 1.7.
Hopefully nobody is using this.
This was a hard reference for Java 1.1.
|
| Modifier and Type | Field and Description |
|---|---|
| private WeakReference |
| Access | Constructor and Description |
|---|---|
| pack-priv | WeakishReference(Object
ditto reference)create a new soft reference, which is bound to a Weak reference inside |
| Modifier and Type | Method and Description |
|---|---|
| public static WeakishReference | Returns: reference to the Object.the object that the reference will refer to. object)
Deprecated
as a consequence of
create the appropriate type of reference for the java version
WeakishReference being deprecated.
|
| public Object | Returns: The object to which this reference refers, ornull if this reference object has been cleared.Returns this reference object's referent. |
| weakref | back to summary |
|---|---|
| private WeakReference<Object> weakref | |
| WeakishReference | back to summary |
|---|---|
| pack-priv WeakishReference(Object reference) create a new soft reference, which is bound to a Weak reference inside
| |
| createReference | back to summary |
|---|---|
| public static WeakishReference createReference(Object object)
Deprecated as a consequence of create the appropriate type of reference for the java version
| |
| get | back to summary |
|---|---|
| public Object get() Returns this reference object's referent. If this reference object has
been cleared, then this method returns
| |
Deprecated
since 1.7. Hopefully nobody is using this.
| Access | Constructor and Description |
|---|---|
| public |
| HardReference | back to summary |
|---|---|
| public HardReference(Object object) constructor.
| |