Package rma.util
Class WeakObserver
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.WeakReference
rma.util.WeakObserver
- All Implemented Interfaces:
Observer
An Observer wrapper that is a WeakReference to the real Observer.
When the real Observer is de-referenced, then the WeakObserver
removes itself from the Observable's list of Observers.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, get, isEnqueued, reachabilityFence, refersTo