public class MappingObserver<T,M> extends PassthroughObserver<T,M>
Constructor and Description |
---|
MappingObserver(Observer<? super M> downstreamObserver,
java.util.function.Function<? super T,? extends M> mapping) |
Modifier and Type | Method and Description |
---|---|
void |
onNext(T 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(T message)
Observer
Observable
.