Class RigidObservable<O>
java.lang.Object
org.reactfx.RigidObservable<O>
- Type Parameters:
O- observer type accepted by this Observable
- All Implemented Interfaces:
Observable<O>
- Direct Known Subclasses:
ConstVal, EventStreams.Never
An observable that does not change and does not produce any notifications.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidaddObserver(O observer) Adding an observer to a RigidObservable is a no-op.final SubscriptionReturns an empty Subscription (Subscription.EMPTY).final voidremoveObserver(O observer) Removing an observer from a RigidObservable is a no-op.
-
Constructor Details
-
RigidObservable
public RigidObservable()
-
-
Method Details
-
addObserver
Adding an observer to a RigidObservable is a no-op.- Specified by:
addObserverin interfaceObservable<O>
-
removeObserver
Removing an observer from a RigidObservable is a no-op.- Specified by:
removeObserverin interfaceObservable<O>
-
observe
Returns an empty Subscription (Subscription.EMPTY).- Specified by:
observein interfaceObservable<O>
-