public class WeakReference extends Object
It actually holds a reference to a com.sun.star.XAdapter
implementation and obtains a hard reference if necessary.
Constructor and Description |
---|
WeakReference(Object obj)
Creates an instance of this class.
|
WeakReference(WeakReference obj)
Creates an instance of this class.
|
Modifier and Type | Method and Description |
---|---|
Object |
get()
Returns a hard reference to the object that is kept weak by this class.
|
public WeakReference(WeakReference obj)
obj
- another instance that is to be copied.public WeakReference(Object obj)
obj
- XWeak implementation.public Object get()