public class FilteringObserver<M> extends PassthroughObserver<M,M>
Constructor and Description |
---|
FilteringObserver(Observer<? super M> downstreamObserver,
java.util.function.Predicate<? super M> condition) |
Modifier and Type | Method and Description |
---|---|
void |
onNext(M message)
The method which will receive notification from an
Observable . |
getDownstreamObserver, getObservation, initializeObservation, onComplete, onFail, onObserve
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onCompletion, onFailure, onObservation, singleUse
public void onNext(M message)
Observer
Observable
.