T - the source typeU - the key typepublic final class OrderByIterable<T,U>
extends java.lang.Object
implements java.lang.Iterable<T>
| Constructor and Description |
|---|
OrderByIterable(java.lang.Iterable<? extends T> source,
java.util.Comparator<? super U> keyComparator,
rx.functions.Func1<? super T,? extends U> keySelector)
Constructor, initializes the fields.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<T> |
iterator() |
public OrderByIterable(java.lang.Iterable<? extends T> source, java.util.Comparator<? super U> keyComparator, rx.functions.Func1<? super T,? extends U> keySelector)
source - the source sequencekeyComparator - the key comparator functionkeySelector - the key selector function