T
- the type of the items emitted by the source and the resulting Observable
spublic final class OperatorToObservableSortedList<T> extends java.lang.Object implements Observable.Operator<java.util.List<T>,T>
Observable
that emits the items emitted by the source Observable
, in a sorted order
(each item emitted by the Observable
must implement Comparable
with respect to all other
items in the sequence, or you must pass in a sort function).
Constructor and Description |
---|
OperatorToObservableSortedList() |
OperatorToObservableSortedList(Func2<? super T,? super T,java.lang.Integer> sortFunction) |
Modifier and Type | Method and Description |
---|---|
Subscriber<? super T> |
call(Subscriber<? super java.util.List<T>> o) |
public Subscriber<? super T> call(Subscriber<? super java.util.List<T>> o)
call
in interface Func1<Subscriber<? super java.util.List<T>>,Subscriber<? super T>>