public final class MathObservable extends Object
Modifier and Type | Method and Description |
---|---|
static Observable<Double> |
averageDouble(ObservableSource<? extends Number> source) |
static Observable<Float> |
averageFloat(ObservableSource<? extends Number> source) |
static <T extends Comparable<? super T>> |
max(ObservableSource<T> source) |
static <T> Observable<T> |
max(ObservableSource<T> source,
Comparator<? super T> comparator) |
static <T extends Comparable<? super T>> |
min(ObservableSource<T> source) |
static <T> Observable<T> |
min(ObservableSource<T> source,
Comparator<? super T> comparator) |
static Observable<Double> |
sumDouble(ObservableSource<Double> source) |
static Observable<Float> |
sumFloat(ObservableSource<Float> source) |
static Observable<Integer> |
sumInt(ObservableSource<Integer> source) |
static Observable<Long> |
sumLong(ObservableSource<Long> source) |
public static Observable<Integer> sumInt(ObservableSource<Integer> source)
public static Observable<Long> sumLong(ObservableSource<Long> source)
public static Observable<Float> sumFloat(ObservableSource<Float> source)
public static Observable<Double> sumDouble(ObservableSource<Double> source)
public static <T extends Comparable<? super T>> Observable<T> max(ObservableSource<T> source)
public static <T> Observable<T> max(ObservableSource<T> source, Comparator<? super T> comparator)
public static <T extends Comparable<? super T>> Observable<T> min(ObservableSource<T> source)
public static <T> Observable<T> min(ObservableSource<T> source, Comparator<? super T> comparator)
public static Observable<Float> averageFloat(ObservableSource<? extends Number> source)
public static Observable<Double> averageDouble(ObservableSource<? extends Number> source)