Top Fields Constructors Methods
io.reactivex.internal.util

public final Enum ArrayListSupplier

extends Enum<ArrayListSupplier>
implements Callable<List<Object>>, Function<Object, List<Object>>
Class Inheritance
All Implemented Interfaces
io.reactivex.functions.Function, java.util.concurrent.Callable
Imports
java.util.*, java.util.concurrent.Callable, io.reactivex.functions.Function

Field Summary

Modifier and TypeField and Description
public static final ArrayListSupplier

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public List<Object>
apply(Object
the input value
o
)

Implements io.reactivex.functions.Function.apply.

Apply some calculation to the input value and return some other value.
public static <T> Callable<List<T>>
public static <T, O> Function<O, List<T>>
public List<Object>
call()

Implements java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.
public static ArrayListSupplier
public static ArrayListSupplier[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

INSTANCEback to summary
public static final ArrayListSupplier INSTANCE

Constructor Detail

ArrayListSupplierback to summary
private ArrayListSupplier()

Method Detail

applyback to summary
public List<Object> apply(Object o) 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
o:Object

the input value

Returns:List<Object>

the output value

Annotations
@Override
Exceptions
Exception:
on error
asCallableback to summary
public static <T> Callable<List<T>> asCallable()
Annotations
@SuppressWarnings:unchecked, rawtypes
asFunctionback to summary
public static <T, O> Function<O, List<T>> asFunction()
Annotations
@SuppressWarnings:unchecked, rawtypes
callback to summary
public List<Object> call() throws Exception

Implements java.util.concurrent.Callable.call.

Doc from java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.

Returns:List<Object>

computed result

Annotations
@Override
Exceptions
Exception:
if unable to compute a result
valueOfback to summary
public static ArrayListSupplier valueOf(String name)
valuesback to summary
public static ArrayListSupplier[] values()