Top Description Methods
io.reactivex

public Interface MaybeTransformer<Upstream, Downstream>

Type Parameters
<Upstream>
the upstream value type
<Downstream>
the downstream value type
Imports
io.reactivex.annotations.*

Interface to compose Maybes.

Method Summary

Modifier and TypeMethod and Description
public MaybeSource<Downstream>

Returns:

the transformed MaybeSource instance
apply
(Maybe<Upstream>
the upstream Maybe instance
upstream
)

Applies a function to the upstream Maybe and returns a MaybeSource with optionally different element type.

Method Detail

applyback to summary
public MaybeSource<Downstream> apply(Maybe<Upstream> upstream)

Applies a function to the upstream Maybe and returns a MaybeSource with optionally different element type.

Parameters
upstream:Maybe<Upstream>

the upstream Maybe instance

Returns:MaybeSource<Downstream>

the transformed MaybeSource instance

Annotations
@NonNull