public interface

MaybeTransformer

io.reactivex.MaybeTransformer<Upstream, Downstream>

Class Overview

Interface to compose Maybes.

Summary

Public Methods
abstract MaybeSource<Downstream> apply(Maybe<Upstream> upstream)
Applies a function to the upstream Maybe and returns a MaybeSource with optionally different element type.

Public Methods

public abstract MaybeSource<Downstream> apply (Maybe<Upstream> upstream)

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

Parameters
upstream the upstream Maybe instance
Returns
  • the transformed MaybeSource instance