Constructor and Description |
---|
Agg() |
Modifier and Type | Method and Description |
---|---|
static java.util.stream.Collector<Boolean,?,Boolean> |
allMatch()
Get a
Collector that calculates the ALL() function. |
static <T> java.util.stream.Collector<T,?,Boolean> |
allMatch(java.util.function.Predicate<? super T> predicate)
Get a
Collector that calculates the ALL() function. |
static java.util.stream.Collector<Boolean,?,Boolean> |
anyMatch()
Get a
Collector that calculates the ANY() function. |
static <T> java.util.stream.Collector<T,?,Boolean> |
anyMatch(java.util.function.Predicate<? super T> predicate)
Get a
Collector that calculates the ANY() function. |
static <T> java.util.stream.Collector<T,?,Optional<T>> |
avg()
|
static <T,U> java.util.stream.Collector<T,?,Optional<U>> |
avg(java.util.function.Function<? super T,? extends U> function)
|
static <T> java.util.stream.Collector<T,?,Optional<T>> |
bitAnd()
|
static <T,U> java.util.stream.Collector<T,?,Optional<U>> |
bitAnd(java.util.function.Function<? super T,? extends U> function)
|
static <T,U> java.util.stream.Collector<T,?,Integer> |
bitAndInt(java.util.function.ToIntFunction<? super T> function)
|
static <T,U> java.util.stream.Collector<T,?,Long> |
bitAndLong(java.util.function.ToLongFunction<? super T> function)
|
static <T> java.util.stream.Collector<T,?,Optional<T>> |
bitOr()
|
static <T,U> java.util.stream.Collector<T,?,Optional<U>> |
bitOr(java.util.function.Function<? super T,? extends U> function)
|
static <T,U> java.util.stream.Collector<T,?,Integer> |
bitOrInt(java.util.function.ToIntFunction<? super T> function)
|
static <T,U> java.util.stream.Collector<T,?,Long> |
bitOrLong(java.util.function.ToLongFunction<? super T> function)
|
static java.util.stream.Collector<CharSequence,?,String> |
commonPrefix()
Get a
Collector that calculates the common prefix of a set of strings. |
static java.util.stream.Collector<CharSequence,?,String> |
commonSuffix()
Get a
Collector that calculates the common suffix of a set of strings. |
static <T> java.util.stream.Collector<T,?,Long> |
count()
Get a
Collector that calculates the COUNT(*)
function. |
static <T> java.util.stream.Collector<T,?,Long> |
countDistinct()
Get a
Collector that calculates the
COUNT (DISTINCT *) function. |
static <T,U> java.util.stream.Collector<T,?,Long> |
countDistinctBy(java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the
COUNT (DISTINCT expr) function. |
static <T extends Comparable<? super T>> |
denseRank(T value)
Get a
Collector that calculates the DENSE_RANK() function given natural ordering. |
static <T> java.util.stream.Collector<T,?,Optional<Long>> |
denseRank(T value,
Comparator<? super T> comparator)
Get a
Collector that calculates the DENSE_RANK() function given a specific ordering. |
static <T,U extends Comparable<? super U>> |
denseRankBy(U value,
java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the derived DENSE_RANK() function given natural ordering. |
static <T,U> java.util.stream.Collector<T,?,Optional<Long>> |
denseRankBy(U value,
java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get a
Collector that calculates the derived DENSE_RANK() function given a specific ordering. |
static <T extends Comparable<? super T>> |
max()
Get a
Collector that calculates the MAX() function. |
static <T> java.util.stream.Collector<T,?,Optional<T>> |
max(Comparator<? super T> comparator)
Get a
Collector that calculates the MAX() function. |
static <T,U extends Comparable<? super U>> |
max(java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the MAX() function. |
static <T,U> java.util.stream.Collector<T,?,Optional<U>> |
max(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get a
Collector that calculates the MAX() function. |
static <T extends Comparable<? super T>> |
maxAll()
Get a
Collector that calculates the MAX() function, producing multiple results. |
static <T> java.util.stream.Collector<T,?,Seq<T>> |
maxAll(Comparator<? super T> comparator)
Get a
Collector that calculates the MAX() function, producing multiple results. |
static <T,U extends Comparable<? super U>> |
maxAll(java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the MAX() function, producing multiple results. |
static <T,U> java.util.stream.Collector<T,?,Seq<U>> |
maxAll(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get a
Collector that calculates the MAX() function, producing multiple results. |
static <T,U extends Comparable<? super U>> |
maxAllBy(java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the MAX() function, producing multiple results. |
static <T,U> java.util.stream.Collector<T,?,Seq<T>> |
maxAllBy(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get a
Collector that calculates the MAX() function, producing multiple results. |
static <T,U extends Comparable<? super U>> |
maxBy(java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the MAX() function. |
static <T,U> java.util.stream.Collector<T,?,Optional<T>> |
maxBy(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get a
Collector that calculates the MAX() function. |
static <T extends Comparable<? super T>> |
median()
Get a
Collector that calculates the MEDIAN() function given natural ordering. |
static <T> java.util.stream.Collector<T,?,Optional<T>> |
median(Comparator<? super T> comparator)
Get a
Collector that calculates the MEDIAN() function given a specific ordering. |
static <T,U extends Comparable<? super U>> |
median(java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the MEDIAN() function given a specific ordering. |
static <T,U> java.util.stream.Collector<T,?,Optional<U>> |
median(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get a
Collector that calculates the MEDIAN() function given a specific ordering. |
static <T,U extends Comparable<? super U>> |
medianBy(java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the derived MEDIAN() function given natural ordering. |
static <T,U> java.util.stream.Collector<T,?,Optional<T>> |
medianBy(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get a
Collector that calculates the derived MEDIAN() function given a specific ordering. |
static <T extends Comparable<? super T>> |
min()
Get a
Collector that calculates the MIN() function. |
static <T> java.util.stream.Collector<T,?,Optional<T>> |
min(Comparator<? super T> comparator)
Get a
Collector that calculates the MIN() function. |
static <T,U extends Comparable<? super U>> |
min(java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the MIN() function. |
static <T,U> java.util.stream.Collector<T,?,Optional<U>> |
min(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get a
Collector that calculates the MIN() function. |
static <T extends Comparable<? super T>> |
minAll()
Get a
Collector that calculates the MIN() function, producing multiple results. |
static <T> java.util.stream.Collector<T,?,Seq<T>> |
minAll(Comparator<? super T> comparator)
Get a
Collector that calculates the MIN() function, producing multiple results. |
static <T,U extends Comparable<? super U>> |
minAll(java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the MIN() function, producing multiple results. |
static <T,U> java.util.stream.Collector<T,?,Seq<U>> |
minAll(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get a
Collector that calculates the MIN() function, producing multiple results. |
static <T,U extends Comparable<? super U>> |
minAllBy(java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the MIN() function, producing multiple results. |
static <T,U> java.util.stream.Collector<T,?,Seq<T>> |
minAllBy(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get a
Collector that calculates the MIN() function, producing multiple results. |
static <T,U extends Comparable<? super U>> |
minBy(java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the MIN() function. |
static <T,U> java.util.stream.Collector<T,?,Optional<T>> |
minBy(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get a
Collector that calculates the MIN() function. |
static <T> java.util.stream.Collector<T,?,Optional<T>> |
mode()
Get a
Collector that calculates the MODE() function. |
static <T> java.util.stream.Collector<T,?,Seq<T>> |
modeAll()
Get a
Collector that calculates the MODE() function. |
static <T,U> java.util.stream.Collector<T,?,Seq<T>> |
modeAllBy(java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the MODE() function. |
static <T,U> java.util.stream.Collector<T,?,Optional<T>> |
modeBy(java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the MODE() function. |
static java.util.stream.Collector<Boolean,?,Boolean> |
noneMatch()
Get a
Collector that calculates the NONE() function. |
static <T> java.util.stream.Collector<T,?,Boolean> |
noneMatch(java.util.function.Predicate<? super T> predicate)
Get a
Collector that calculates the NONE() function. |
static <T extends Comparable<? super T>> |
percentile(double percentile)
Get a
Collector that calculates the PERCENTILE_DISC(percentile) function given natural ordering. |
static <T> java.util.stream.Collector<T,?,Optional<T>> |
percentile(double percentile,
Comparator<? super T> comparator)
Get a
Collector that calculates the PERCENTILE_DISC(percentile) function given a specific ordering. |
static <T,U extends Comparable<? super U>> |
percentile(double percentile,
java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the PERCENTILE_DISC(percentile) function given a specific ordering. |
static <T,U> java.util.stream.Collector<T,?,Optional<U>> |
percentile(double percentile,
java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get a
Collector that calculates the PERCENTILE_DISC(percentile) function given a specific ordering. |
static <T,U extends Comparable<? super U>> |
percentileBy(double percentile,
java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the derived PERCENTILE_DISC(percentile) function given natural ordering. |
static <T,U> java.util.stream.Collector<T,?,Optional<T>> |
percentileBy(double percentile,
java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get a
Collector that calculates the derived PERCENTILE_DISC(percentile) function given a specific ordering. |
static <T extends Comparable<? super T>> |
percentRank(T value)
Get a
Collector that calculates the PERCENT_RANK() function given natural ordering. |
static <T> java.util.stream.Collector<T,?,Optional<Double>> |
percentRank(T value,
Comparator<? super T> comparator)
Get a
Collector that calculates the PERCENT_RANK() function given a specific ordering. |
static <T,U extends Comparable<? super U>> |
percentRankBy(U value,
java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the derived PERCENT_RANK() function given natural ordering. |
static <T,U> java.util.stream.Collector<T,?,Optional<Double>> |
percentRankBy(U value,
java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get a
Collector that calculates the derived PERCENT_RANK() function given a specific ordering. |
static <T extends Comparable<? super T>> |
rank(T value)
Get a
Collector that calculates the RANK() function given natural ordering. |
static <T> java.util.stream.Collector<T,?,Optional<Long>> |
rank(T value,
Comparator<? super T> comparator)
Get a
Collector that calculates the RANK() function given a specific ordering. |
static <T,U extends Comparable<? super U>> |
rankBy(U value,
java.util.function.Function<? super T,? extends U> function)
Get a
Collector that calculates the derived RANK() function given natural ordering. |
static <T,U> java.util.stream.Collector<T,?,Optional<Long>> |
rankBy(U value,
java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get a
Collector that calculates the derived RANK() function given a specific ordering. |
static <T> java.util.stream.Collector<T,?,Optional<T>> |
sum()
|
static <T,U> java.util.stream.Collector<T,?,Optional<U>> |
sum(java.util.function.Function<? super T,? extends U> function)
|
public static <T> java.util.stream.Collector<T,?,Long> count()
Collector
that calculates the COUNT(*)
function.public static <T> java.util.stream.Collector<T,?,Long> countDistinct()
Collector
that calculates the
COUNT (DISTINCT *)
function.public static <T,U> java.util.stream.Collector<T,?,Long> countDistinctBy(java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the
COUNT (DISTINCT expr)
function.public static <T> java.util.stream.Collector<T,?,Optional<T>> sum()
public static <T,U> java.util.stream.Collector<T,?,Optional<U>> sum(java.util.function.Function<? super T,? extends U> function)
public static <T> java.util.stream.Collector<T,?,Optional<T>> avg()
public static <T,U> java.util.stream.Collector<T,?,Optional<U>> avg(java.util.function.Function<? super T,? extends U> function)
public static <T extends Comparable<? super T>> java.util.stream.Collector<T,?,Optional<T>> min()
Collector
that calculates the MIN()
function.public static <T> java.util.stream.Collector<T,?,Optional<T>> min(Comparator<? super T> comparator)
Collector
that calculates the MIN()
function.public static <T,U extends Comparable<? super U>> java.util.stream.Collector<T,?,Optional<U>> min(java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the MIN()
function.public static <T,U> java.util.stream.Collector<T,?,Optional<U>> min(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Collector
that calculates the MIN()
function.public static <T,U extends Comparable<? super U>> java.util.stream.Collector<T,?,Optional<T>> minBy(java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the MIN()
function.public static <T,U> java.util.stream.Collector<T,?,Optional<T>> minBy(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Collector
that calculates the MIN()
function.public static <T extends Comparable<? super T>> java.util.stream.Collector<T,?,Seq<T>> minAll()
Collector
that calculates the MIN()
function, producing multiple results.public static <T> java.util.stream.Collector<T,?,Seq<T>> minAll(Comparator<? super T> comparator)
Collector
that calculates the MIN()
function, producing multiple results.public static <T,U extends Comparable<? super U>> java.util.stream.Collector<T,?,Seq<U>> minAll(java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the MIN()
function, producing multiple results.public static <T,U> java.util.stream.Collector<T,?,Seq<U>> minAll(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Collector
that calculates the MIN()
function, producing multiple results.public static <T,U extends Comparable<? super U>> java.util.stream.Collector<T,?,Seq<T>> minAllBy(java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the MIN()
function, producing multiple results.public static <T,U> java.util.stream.Collector<T,?,Seq<T>> minAllBy(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Collector
that calculates the MIN()
function, producing multiple results.public static <T extends Comparable<? super T>> java.util.stream.Collector<T,?,Optional<T>> max()
Collector
that calculates the MAX()
function.public static <T> java.util.stream.Collector<T,?,Optional<T>> max(Comparator<? super T> comparator)
Collector
that calculates the MAX()
function.public static <T,U extends Comparable<? super U>> java.util.stream.Collector<T,?,Optional<U>> max(java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the MAX()
function.public static <T,U> java.util.stream.Collector<T,?,Optional<U>> max(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Collector
that calculates the MAX()
function.public static <T,U extends Comparable<? super U>> java.util.stream.Collector<T,?,Optional<T>> maxBy(java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the MAX()
function.public static <T,U> java.util.stream.Collector<T,?,Optional<T>> maxBy(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Collector
that calculates the MAX()
function.public static <T extends Comparable<? super T>> java.util.stream.Collector<T,?,Seq<T>> maxAll()
Collector
that calculates the MAX()
function, producing multiple results.public static <T> java.util.stream.Collector<T,?,Seq<T>> maxAll(Comparator<? super T> comparator)
Collector
that calculates the MAX()
function, producing multiple results.public static <T,U extends Comparable<? super U>> java.util.stream.Collector<T,?,Seq<U>> maxAll(java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the MAX()
function, producing multiple results.public static <T,U> java.util.stream.Collector<T,?,Seq<U>> maxAll(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Collector
that calculates the MAX()
function, producing multiple results.public static <T,U extends Comparable<? super U>> java.util.stream.Collector<T,?,Seq<T>> maxAllBy(java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the MAX()
function, producing multiple results.public static <T,U> java.util.stream.Collector<T,?,Seq<T>> maxAllBy(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Collector
that calculates the MAX()
function, producing multiple results.public static java.util.stream.Collector<Boolean,?,Boolean> allMatch()
Collector
that calculates the ALL()
function.public static <T> java.util.stream.Collector<T,?,Boolean> allMatch(java.util.function.Predicate<? super T> predicate)
Collector
that calculates the ALL()
function.public static java.util.stream.Collector<Boolean,?,Boolean> anyMatch()
Collector
that calculates the ANY()
function.public static <T> java.util.stream.Collector<T,?,Boolean> anyMatch(java.util.function.Predicate<? super T> predicate)
Collector
that calculates the ANY()
function.public static java.util.stream.Collector<Boolean,?,Boolean> noneMatch()
Collector
that calculates the NONE()
function.public static <T> java.util.stream.Collector<T,?,Boolean> noneMatch(java.util.function.Predicate<? super T> predicate)
Collector
that calculates the NONE()
function.public static <T> java.util.stream.Collector<T,?,Optional<T>> bitAnd()
public static <T,U> java.util.stream.Collector<T,?,Optional<U>> bitAnd(java.util.function.Function<? super T,? extends U> function)
public static <T,U> java.util.stream.Collector<T,?,Integer> bitAndInt(java.util.function.ToIntFunction<? super T> function)
public static <T,U> java.util.stream.Collector<T,?,Long> bitAndLong(java.util.function.ToLongFunction<? super T> function)
public static <T> java.util.stream.Collector<T,?,Optional<T>> bitOr()
public static <T,U> java.util.stream.Collector<T,?,Optional<U>> bitOr(java.util.function.Function<? super T,? extends U> function)
public static <T,U> java.util.stream.Collector<T,?,Integer> bitOrInt(java.util.function.ToIntFunction<? super T> function)
public static <T,U> java.util.stream.Collector<T,?,Long> bitOrLong(java.util.function.ToLongFunction<? super T> function)
public static <T> java.util.stream.Collector<T,?,Optional<T>> mode()
Collector
that calculates the MODE()
function.public static <T> java.util.stream.Collector<T,?,Seq<T>> modeAll()
Collector
that calculates the MODE()
function.public static <T,U> java.util.stream.Collector<T,?,Optional<T>> modeBy(java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the MODE()
function.public static <T,U> java.util.stream.Collector<T,?,Seq<T>> modeAllBy(java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the MODE()
function.public static <T extends Comparable<? super T>> java.util.stream.Collector<T,?,Optional<Long>> rank(T value)
Collector
that calculates the RANK()
function given natural ordering.public static <T> java.util.stream.Collector<T,?,Optional<Long>> rank(T value, Comparator<? super T> comparator)
Collector
that calculates the RANK()
function given a specific ordering.public static <T,U extends Comparable<? super U>> java.util.stream.Collector<T,?,Optional<Long>> rankBy(U value, java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the derived RANK()
function given natural ordering.public static <T,U> java.util.stream.Collector<T,?,Optional<Long>> rankBy(U value, java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Collector
that calculates the derived RANK()
function given a specific ordering.public static <T extends Comparable<? super T>> java.util.stream.Collector<T,?,Optional<Long>> denseRank(T value)
Collector
that calculates the DENSE_RANK()
function given natural ordering.public static <T> java.util.stream.Collector<T,?,Optional<Long>> denseRank(T value, Comparator<? super T> comparator)
Collector
that calculates the DENSE_RANK()
function given a specific ordering.public static <T,U extends Comparable<? super U>> java.util.stream.Collector<T,?,Optional<Long>> denseRankBy(U value, java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the derived DENSE_RANK()
function given natural ordering.public static <T,U> java.util.stream.Collector<T,?,Optional<Long>> denseRankBy(U value, java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Collector
that calculates the derived DENSE_RANK()
function given a specific ordering.public static <T extends Comparable<? super T>> java.util.stream.Collector<T,?,Optional<Double>> percentRank(T value)
Collector
that calculates the PERCENT_RANK()
function given natural ordering.public static <T> java.util.stream.Collector<T,?,Optional<Double>> percentRank(T value, Comparator<? super T> comparator)
Collector
that calculates the PERCENT_RANK()
function given a specific ordering.public static <T,U extends Comparable<? super U>> java.util.stream.Collector<T,?,Optional<Double>> percentRankBy(U value, java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the derived PERCENT_RANK()
function given natural ordering.public static <T,U> java.util.stream.Collector<T,?,Optional<Double>> percentRankBy(U value, java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Collector
that calculates the derived PERCENT_RANK()
function given a specific ordering.public static <T extends Comparable<? super T>> java.util.stream.Collector<T,?,Optional<T>> median()
Collector
that calculates the MEDIAN()
function given natural ordering.public static <T> java.util.stream.Collector<T,?,Optional<T>> median(Comparator<? super T> comparator)
Collector
that calculates the MEDIAN()
function given a specific ordering.public static <T,U extends Comparable<? super U>> java.util.stream.Collector<T,?,Optional<U>> median(java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the MEDIAN()
function given a specific ordering.public static <T,U> java.util.stream.Collector<T,?,Optional<U>> median(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Collector
that calculates the MEDIAN()
function given a specific ordering.public static <T,U extends Comparable<? super U>> java.util.stream.Collector<T,?,Optional<T>> medianBy(java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the derived MEDIAN()
function given natural ordering.public static <T,U> java.util.stream.Collector<T,?,Optional<T>> medianBy(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Collector
that calculates the derived MEDIAN()
function given a specific ordering.public static <T extends Comparable<? super T>> java.util.stream.Collector<T,?,Optional<T>> percentile(double percentile)
Collector
that calculates the PERCENTILE_DISC(percentile)
function given natural ordering.public static <T> java.util.stream.Collector<T,?,Optional<T>> percentile(double percentile, Comparator<? super T> comparator)
Collector
that calculates the PERCENTILE_DISC(percentile)
function given a specific ordering.public static <T,U extends Comparable<? super U>> java.util.stream.Collector<T,?,Optional<U>> percentile(double percentile, java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the PERCENTILE_DISC(percentile)
function given a specific ordering.public static <T,U> java.util.stream.Collector<T,?,Optional<U>> percentile(double percentile, java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Collector
that calculates the PERCENTILE_DISC(percentile)
function given a specific ordering.public static <T,U extends Comparable<? super U>> java.util.stream.Collector<T,?,Optional<T>> percentileBy(double percentile, java.util.function.Function<? super T,? extends U> function)
Collector
that calculates the derived PERCENTILE_DISC(percentile)
function given natural ordering.public static <T,U> java.util.stream.Collector<T,?,Optional<T>> percentileBy(double percentile, java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Collector
that calculates the derived PERCENTILE_DISC(percentile)
function given a specific ordering.public static java.util.stream.Collector<CharSequence,?,String> commonPrefix()
Collector
that calculates the common prefix of a set of strings.public static java.util.stream.Collector<CharSequence,?,String> commonSuffix()
Collector
that calculates the common suffix of a set of strings.Copyright © 2016. All Rights Reserved.