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