Top Description Methods
io.reactivex.rxjava3.core

public Interface MaybeTransformer<Upstream, Downstream>

Annotations
@FunctionalInterface
Type Parameters
<Upstream>
the upstream value type
<Downstream>
the downstream value type
Imports
io.reactivex.rxjava3.annotations.NonNull

Interface to compose Maybes.

Method Summary

Modifier and TypeMethod and Description
public @NonNull MaybeSource<Downstream>

Returns:

the transformed MaybeSource instance
apply
(@NonNull 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 @NonNull MaybeSource<Downstream> apply(@NonNull Maybe<Upstream> upstream)

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

Parameters
upstream:@NonNull Maybe<Upstream>

the upstream Maybe instance

Returns:@NonNull MaybeSource<Downstream>

the transformed MaybeSource instance

Annotations
@NonNull