Top Description Constructors
org.apache.tools.ant.util.optional

public Class WeakishReference12

extends HardReference
Class Inheritance
Annotations
@Deprecated
Imports
org.apache.tools.ant.util.WeakishReference

Deprecated

since 1.7. Just use java.lang.ref.WeakReference directly. Note that in ant1.7 is parent was changed to extend HardReference. This is because the latter has access to the (package scoped) WeakishReference(Object) constructor, and both that and this are thin facades on the underlying no-longer-abstract base class.

This is a reference that really is is Weak, as it uses the appropriate java.lang.ref class.

Constructor Summary

AccessConstructor and Description
public
WeakishReference12(Object
the object to reference.
reference
)

create a new soft reference, which is bound to a Weak reference inside

Constructor Detail

WeakishReference12back to summary
public WeakishReference12(Object reference)

create a new soft reference, which is bound to a Weak reference inside

Parameters
reference:Object

the object to reference.

See Also
java.lang.ref.WeakReference