Upstream - the upstream value typeDownstream - the downstream value type@FunctionalInterface public interface SingleTransformer<Upstream,Downstream>
Singles.| Modifier and Type | Method and Description |
|---|---|
@NonNull SingleSource<Downstream> |
apply(@NonNull Single<Upstream> upstream)
Applies a function to the upstream
Single and returns a SingleSource with
optionally different element type. |
@NonNull @NonNull SingleSource<Downstream> apply(@NonNull @NonNull Single<Upstream> upstream)
Single and returns a SingleSource with
optionally different element type.upstream - the upstream Single instanceSingleSource instance