Top Description Constructors Methods
org.reactfx

public abstract Class RigidObservable<O>

extends Object
implements Observable<O>
Class Inheritance
All Implemented Interfaces
org.reactfx.Observable
Known Direct Subclasses
org.reactfx.value.ConstVal, org.reactfx.EventStreams.Never
Type Parameters
<O>
observer type accepted by this Observable

An observable that does not change and does not produce any notifications.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public final void
addObserver(O observer)

Implements org.reactfx.Observable.addObserver.

Adding an observer to a RigidObservable is a no-op.

public final Subscription
observe(O observer)

Overrides default org.reactfx.Observable.observe.

Returns an empty Subscription (Subscription#EMPTY).

public final void
removeObserver(O observer)

Implements org.reactfx.Observable.removeObserver.

Removing an observer from a RigidObservable is a no-op.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

RigidObservableback to summary
public RigidObservable()

Method Detail

addObserverback to summary
public final void addObserver(O observer)

Implements org.reactfx.Observable.addObserver.

Adding an observer to a RigidObservable is a no-op.

Annotations
@Override
observeback to summary
public final Subscription observe(O observer)

Overrides default org.reactfx.Observable.observe.

Returns an empty Subscription (Subscription#EMPTY).

Annotations
@Override
removeObserverback to summary
public final void removeObserver(O observer)

Implements org.reactfx.Observable.removeObserver.

Removing an observer from a RigidObservable is a no-op.

Annotations
@Override