T
- the type of the items emitted by the source and the resulting Observable
spublic final class OperatorToObservableSortedList<T> extends Object implements Observable.Operator<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(Func2<? super T,? super T,Integer> sortFunction,
int initialCapacity) |
OperatorToObservableSortedList(int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
Subscriber<? super T> |
call(Subscriber<? super List<T>> child) |
public OperatorToObservableSortedList(int initialCapacity)
public Subscriber<? super T> call(Subscriber<? super List<T>> child)
call
in interface Func1<Subscriber<? super List<T>>,Subscriber<? super T>>
Copyright © 2017. All rights reserved.