Top Description Methods
io.reactivex

public Interface ObservableConverter<T, R>

Type Parameters
<T>
the upstream type
<R>
the output type
Imports
io.reactivex.annotations.*

Convenience interface and callback used by the Observable#as operator to turn an Observable into another value fluently.

History: 2.1.7 - experimental

Since
2.2

Method Summary

Modifier and TypeMethod and Description
public R

Returns:

the converted value
apply
(Observable<T>
the upstream Observable instance
upstream
)

Applies a function to the upstream Observable and returns a converted value of type R.

Method Detail

applyback to summary
public R apply(Observable<T> upstream)

Applies a function to the upstream Observable and returns a converted value of type R.

Parameters
upstream:Observable<T>

the upstream Observable instance

Returns:R

the converted value

Annotations
@NonNull