UDK 3.1.0 Java API Reference

com.sun.star.uno
クラス WeakReference

java.lang.Object
  拡張com.sun.star.uno.WeakReference

public class WeakReference
extends Object

This class holds weak reference to an object. It actually holds a reference to a com.sun.star.XAdapter implementation and obtains a hard reference if necessary.


コンストラクタの概要
WeakReference(Object obj)
          Creates an instance of this class.
WeakReference(WeakReference obj)
          Creates an instance of this class.
 
メソッドの概要
 Object get()
          Returns a hard reference to the object that is kept weak by this class.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

WeakReference

public WeakReference(WeakReference obj)
Creates an instance of this class.

パラメータ:
obj - - another instance that is to be copied

WeakReference

public WeakReference(Object obj)
Creates an instance of this class.

パラメータ:
obj - XWeak implementation
メソッドの詳細

get

public Object get()
Returns a hard reference to the object that is kept weak by this class.

戻り値:
a hard reference to the XWeak implementation.

UDK 3.1.0 Java API Reference