|
UDK 3.2.7 Java API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.star.uno.WeakReference
public class WeakReference
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.
Constructor Summary | |
---|---|
WeakReference(Object obj)
Creates an instance of this class. |
|
WeakReference(WeakReference obj)
Creates an instance of this class. |
Method Summary | |
---|---|
Object |
get()
Returns a hard reference to the object that is kept weak by this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WeakReference(WeakReference obj)
obj
- - another instance that is to be copiedpublic WeakReference(Object obj)
obj
- XWeak implementationMethod Detail |
---|
public Object get()
|
UDK 3.2.7 Java API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |