Top Fields Constructors Methods
io.reactivex.internal.util

public final Class SorterFunction<T>

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

Field Summary

Modifier and TypeField and Description
pack-priv final Comparator<? super T>

Constructor Summary

AccessConstructor and Description
public
SorterFunction(Comparator<? super T> comparator)

Method Summary

Modifier and TypeMethod and Description
public List<T>
apply(List<T>
the input value
t
)

Implements io.reactivex.functions.Function.apply.

Apply some calculation to the input value and return some other value.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

comparatorback to summary
pack-priv final Comparator<? super T> comparator

Constructor Detail

SorterFunctionback to summary
public SorterFunction(Comparator<? super T> comparator)

Method Detail

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

the input value

Returns:List<T>

the output value

Annotations
@Override
Exceptions
Exception:
on error