| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | FlowableScalarXMap.ScalarXMapFlowable<
the scalar value type T, the mapped Publisher's element type. R>Maps a scalar value to a Publisher and subscribes to it. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static < the scalar value type T, the output value type U> Flowable | Returns: the new Flowable instancethe scalar value to map value, final Function<? super T, ? extends Publisher<? extends U>> the function that gets the scalar value and should return
a Publisher that gets streamed mapper)Maps a scalar value into a Publisher and emits its values. |
| public static < the input value type T, the output value type R> boolean | Returns: true if successful, false if the caller should continue with the regular path.the source Publisher source, Subscriber<? super R> the subscriber subscriber, Function<? super T, ? extends Publisher<? extends R>> the function mapping a scalar value into a Publisher mapper)Tries to subscribe to a possibly Supplier source's mapped Publisher. |
| FlowableScalarXMap | back to summary |
|---|---|
| private FlowableScalarXMap() Utility class. | |
| scalarXMap | back to summary |
|---|---|
| public static <T, U> Flowable Maps a scalar value into a Publisher and emits its values. | |
| tryScalarXMapSubscribe | back to summary |
|---|---|
| public static <T, R> boolean tryScalarXMapSubscribe(Publisher<T> source, Subscriber<? super R> subscriber, Function<? super T, ? extends Publisher<? extends R>> mapper) Tries to subscribe to a possibly Supplier source's mapped Publisher.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Function | |
| pack-priv final T |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| mapper | back to summary |
|---|---|
| pack-priv final Function<? super T, ? extends Publisher<? extends R>> mapper | |
| value | back to summary |
|---|---|
| pack-priv final T value | |
| ScalarXMapFlowable | back to summary |
|---|---|
| pack-priv ScalarXMapFlowable(T value, Function<? super T, ? extends Publisher<? extends R>> mapper) | |
| subscribeActual | back to summary |
|---|---|
public void subscribeActual(Subscriber<? super R> s)
| |