T - the source value typeU - the key value typepublic final class MinMaxIterable<T,U>
extends java.lang.Object
implements java.lang.Iterable<java.util.List<T>>
| Constructor and Description |
|---|
MinMaxIterable(rx.functions.Func1<? super T,? extends U> keySelector,
java.lang.Iterable<? extends T> source,
boolean max,
java.util.Comparator<? super U> keyComparator)
Constructor, initializes the fields.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<java.util.List<T>> |
iterator() |
public MinMaxIterable(rx.functions.Func1<? super T,? extends U> keySelector, java.lang.Iterable<? extends T> source, boolean max, java.util.Comparator<? super U> keyComparator)
keySelector - the key selector functionsource - the source sequenecmax - find the maximum?keyComparator - the key comparator function