Top Description Fields Constructors Methods
org.reactfx

pack-priv Class MappedStream<T, U>

Additional top-level classes in compilation unit: MappedToCompletionStageStream, MappedToTaskStream.

extends EventStreamBase<U>
Class Inheritance
Known Direct Subclasses
org.reactfx.MappedToCompletionStageStream, org.reactfx.MappedToTaskStream
Imports
java.util.concurrent.CompletionStage, java.util.function.Function, javafx.concurrent.Task

See EventStream#map(Function)

Field Summary

Modifier and TypeField and Description
private final Function<? super T, ? extends U>
f

private final EventStream<T>

Constructor Summary

AccessConstructor and Description
public
MappedStream(EventStream<T> input, Function<? super T, ? extends U> f)

Method Summary

Modifier and TypeMethod and Description
protected Subscription
observeInputs()

Implements abstract org.reactfx.ObservableBase.observeInputs.

Starts observing this observable's input(s), if any.

Field Detail

fback to summary
private final Function<? super T, ? extends U> f
inputback to summary
private final EventStream<T> input

Constructor Detail

MappedStreamback to summary
public MappedStream(EventStream<T> input, Function<? super T, ? extends U> f)

Method Detail

observeInputsback to summary
protected Subscription observeInputs()

Implements abstract org.reactfx.ObservableBase.observeInputs.

Doc from org.reactfx.ObservableBase.observeInputs.

Starts observing this observable's input(s), if any. This method is called when the number of observers goes from 0 to 1. This method is called before newObserver(Object) is called for the first observer.

Annotations
@Override