|
Project Wonder 2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object er.extensions.ERXRetainer
Used as a generic way to retain a reference to an object so that it will
not be collected by the garbage collector. This class is most often used
to retain objects used to observe {link @NSNotification}s.
Note that the current implementation does not implement reference counting
so calling retain multiple times on the same object does not have any effect
after the first call.
Constructor Summary | |
ERXRetainer()
|
Method Summary | |
static boolean |
isObjectRetained(Object object)
Tests if the given object is being retained by the ERXRetainer class. |
static void |
release(Object object)
Releases the reference to the object. |
static void |
retain(Object object)
Retains a reference to the object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ERXRetainer()
Method Detail |
public static void retain(Object object)
object
- object to be retained.public static void release(Object object)
object
- object to be released.public static boolean isObjectRetained(Object object)
object
- object to be tested.
|
Last updated: Do, Dez 9, 2004 12:46 PM CET | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |