RXMapper<T> Class
- java.
lang. Object - rx.
functions. Func1<Object, T> - com.
microsoft. azure. management. resources. fluentcore. utils. RXMapper<T>
- com.
- rx.
Type Parameters
- T
the type to emit as Observable
public class RXMapper
An internal utility class representing an RX function returning the provided type instance from a call with an arbitrary parameter.
Method Summary
Modifier and Type | Method and Description |
---|---|
T | call(Object t) |
static<T> Observable<T> |
map(Observable<?> fromObservable, final T toValue)
Shortcut for mapping the output of an arbitrary observable to one returning an instance of a specific type, using the IO scheduler. |
Observable<Void> |
mapToVoid(Observable<?> fromObservable)
Shortcut for mapping an arbitrary observable to void, using the IO scheduler. |
Method Details
call
public T call(Object t)
Parameters:
map
public static static
Shortcut for mapping the output of an arbitrary observable to one returning an instance of a specific type, using the IO scheduler.
Parameters:
Returns:
mapToVoid
public static Observable
Shortcut for mapping an arbitrary observable to void, using the IO scheduler.
Parameters:
Returns:
Applies to
Azure SDK for Java