Top Description Fields Constructors Methods
io.reactivex.internal.operators.maybe

public final Enum MaybeToPublisher

extends Enum<MaybeToPublisher>
implements Function<MaybeSource<Object>, Publisher<Object>>
Class Inheritance
All Implemented Interfaces
io.reactivex.functions.Function
Imports
org.reactivestreams.Publisher, io.reactivex.MaybeSource, io.reactivex.functions.Function

Helper function to merge/concat values of each MaybeSource provided by a Publisher.

Field Summary

Modifier and TypeField and Description
public static final MaybeToPublisher

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public Publisher<Object>
apply(MaybeSource<Object>
the input value
t
)

Implements io.reactivex.functions.Function.apply.

Apply some calculation to the input value and return some other value.
public static <T> Function<MaybeSource<T>, Publisher<T>>
public static MaybeToPublisher
public static MaybeToPublisher[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

INSTANCEback to summary
public static final MaybeToPublisher INSTANCE

Constructor Detail

MaybeToPublisherback to summary
private MaybeToPublisher()

Method Detail

applyback to summary
public Publisher<Object> apply(MaybeSource<Object> t) throws Exception

Implements io.reactivex.functions.Function.apply.

Doc from io.reactivex.functions.Function.apply.

Apply some calculation to the input value and return some other value.

Parameters
t:MaybeSource<Object>

the input value

Returns:Publisher<Object>

the output value

Annotations
@Override
Exceptions
Exception:
on error
instanceback to summary
public static <T> Function<MaybeSource<T>, Publisher<T>> instance()
Annotations
@SuppressWarnings:rawtypes, unchecked
valueOfback to summary
public static MaybeToPublisher valueOf(String name)
valuesback to summary
public static MaybeToPublisher[] values()