Top Description Methods
io.reactivex

public Interface SingleConverter<T, R>

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

Convenience interface and callback used by the Single#as operator to turn a Single 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
(Single<T>
the upstream Single instance
upstream
)

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

Method Detail

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

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

Parameters
upstream:Single<T>

the upstream Single instance

Returns:R

the converted value

Annotations
@NonNull