org.apache.tools.ant.util.optional

Class WeakishReference12

public class WeakishReference12 extends WeakishReference

This is a reference that really is is Weak, as it uses the appropriate java.lang.ref class.
Constructor Summary
WeakishReference12(Object reference)
create a new soft reference, which is bound to a Weak reference inside
Method Summary
Objectget()
Returns this reference object's referent.

Constructor Detail

WeakishReference12

public WeakishReference12(Object reference)
create a new soft reference, which is bound to a Weak reference inside

Parameters: reference

See Also: java.lang.ref.WeakReference

Method Detail

get

public Object get()
Returns this reference object's referent.

Returns: referent.

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.