public class Agg
extends java.lang.Object
Collector implementations.
 The class name isn't set in stone and will change.
| Constructor | Description | 
|---|---|
Agg() | 
| Modifier and Type | Method | Description | 
|---|---|---|
static java.util.stream.Collector<java.lang.Boolean,?,java.lang.Boolean> | 
allMatch() | 
 Get a  
Collector that calculates the ALL() function. | 
static <T> java.util.stream.Collector<T,?,java.lang.Boolean> | 
allMatch(java.util.function.Predicate<? super T> predicate) | 
 Get a  
Collector that calculates the ALL() function. | 
static java.util.stream.Collector<java.lang.Boolean,?,java.lang.Boolean> | 
anyMatch() | 
 Get a  
Collector that calculates the ANY() function. | 
static <T> java.util.stream.Collector<T,?,java.lang.Boolean> | 
anyMatch(java.util.function.Predicate<? super T> predicate) | 
 Get a  
Collector that calculates the ANY() function. | 
static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> | 
avg() | 
 Get a  
Collector that calculates the AVG() for any
 type of Number. | 
static <T,U> java.util.stream.Collector<T,?,java.util.Optional<U>> | 
avg(java.util.function.Function<? super T,? extends U> function) | 
 Get a  
Collector that calculates the AVG() for any
 type of Number. | 
static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> | 
bitAnd() | 
 Get a  
Collector that calculates BIT_AND() for any
 type of Number. | 
static <T,U> java.util.stream.Collector<T,?,java.util.Optional<U>> | 
bitAnd(java.util.function.Function<? super T,? extends U> function) | 
 Get a  
Collector that calculates the BIT_AND() for any
 type of Number. | 
static <T,U> java.util.stream.Collector<T,?,java.lang.Integer> | 
bitAndInt(java.util.function.ToIntFunction<? super T> function) | 
 Get a  
Collector that calculates the BIT_AND() for any
 type of Number. | 
static <T,U> java.util.stream.Collector<T,?,java.lang.Long> | 
bitAndLong(java.util.function.ToLongFunction<? super T> function) | 
 Get a  
Collector that calculates the BIT_AND() for any
 type of Number. | 
static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> | 
bitOr() | 
 Get a  
Collector that calculates BIT_OR() for any
 type of Number. | 
static <T,U> java.util.stream.Collector<T,?,java.util.Optional<U>> | 
bitOr(java.util.function.Function<? super T,? extends U> function) | 
 Get a  
Collector that calculates the BIT_OR() for any
 type of Number. | 
static <T,U> java.util.stream.Collector<T,?,java.lang.Integer> | 
bitOrInt(java.util.function.ToIntFunction<? super T> function) | 
 Get a  
Collector that calculates the BIT_OR() for any
 type of Number. | 
static <T,U> java.util.stream.Collector<T,?,java.lang.Long> | 
bitOrLong(java.util.function.ToLongFunction<? super T> function) | 
 Get a  
Collector that calculates the BIT_OR() for any
 type of Number. | 
static java.util.stream.Collector<java.lang.CharSequence,?,java.lang.String> | 
commonPrefix() | 
 Get a  
Collector that calculates the common prefix of a set of strings. | 
static java.util.stream.Collector<java.lang.CharSequence,?,java.lang.String> | 
commonSuffix() | 
 Get a  
Collector that calculates the common suffix of a set of strings. | 
static <T> java.util.stream.Collector<T,?,java.lang.Long> | 
count() | 
 Get a  
Collector that calculates the COUNT(*)
 function. | 
static <T> java.util.stream.Collector<T,?,java.lang.Long> | 
countDistinct() | 
 Get a  
Collector that calculates the
 COUNT (DISTINCT *) function. | 
static <T,U> java.util.stream.Collector<T,?,java.lang.Long> | 
countDistinctBy(java.util.function.Function<? super T,? extends U> function) | 
 Get a  
Collector that calculates the
 COUNT (DISTINCT expr) function. | 
static <T extends java.lang.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,?,java.util.Optional<java.lang.Long>> | 
denseRank(T value,
         java.util.Comparator<? super T> comparator) | 
 Get a  
Collector that calculates the DENSE_RANK() function given a specific ordering. | 
static <T,U extends java.lang.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,?,java.util.Optional<java.lang.Long>> | 
denseRankBy(U value,
           java.util.function.Function<? super T,? extends U> function,
           java.util.Comparator<? super U> comparator) | 
 Get a  
Collector that calculates the derived DENSE_RANK() function given a specific ordering. | 
static <T,A,R> java.util.stream.Collector<T,?,R> | 
filter(java.util.function.Predicate<? super T> predicate,
      java.util.stream.Collector<T,A,R> downstream) | 
 Get a  
Collector that filters data passed to downstream collector. | 
static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> | 
first() | 
 Get a  
Collector that calculates the FIRST function. | 
static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> | 
last() | 
 Get a  
Collector that calculates the LAST function. | 
static <T extends java.lang.Comparable<? super T>> | 
max() | 
 Get a  
Collector that calculates the MAX() function. | 
static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> | 
max(java.util.Comparator<? super T> comparator) | 
 Get a  
Collector that calculates the MAX() function. | 
static <T,U extends java.lang.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,?,java.util.Optional<U>> | 
max(java.util.function.Function<? super T,? extends U> function,
   java.util.Comparator<? super U> comparator) | 
 Get a  
Collector that calculates the MAX() function. | 
static <T extends java.lang.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(java.util.Comparator<? super T> comparator) | 
 Get a  
Collector that calculates the MAX() function, producing multiple results. | 
static <T,U extends java.lang.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,
      java.util.Comparator<? super U> comparator) | 
 Get a  
Collector that calculates the MAX() function, producing multiple results. | 
static <T,U extends java.lang.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,
        java.util.Comparator<? super U> comparator) | 
 Get a  
Collector that calculates the MAX() function, producing multiple results. | 
static <T,U extends java.lang.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,?,java.util.Optional<T>> | 
maxBy(java.util.function.Function<? super T,? extends U> function,
     java.util.Comparator<? super U> comparator) | 
 Get a  
Collector that calculates the MAX() function. | 
static <T extends java.lang.Comparable<? super T>> | 
median() | 
 Get a  
Collector that calculates the MEDIAN() function given natural ordering. | 
static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> | 
median(java.util.Comparator<? super T> comparator) | 
 Get a  
Collector that calculates the MEDIAN() function given a specific ordering. | 
static <T,U extends java.lang.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,?,java.util.Optional<U>> | 
median(java.util.function.Function<? super T,? extends U> function,
      java.util.Comparator<? super U> comparator) | 
 Get a  
Collector that calculates the MEDIAN() function given a specific ordering. | 
static <T,U extends java.lang.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,?,java.util.Optional<T>> | 
medianBy(java.util.function.Function<? super T,? extends U> function,
        java.util.Comparator<? super U> comparator) | 
 Get a  
Collector that calculates the derived MEDIAN() function given a specific ordering. | 
static <T extends java.lang.Comparable<? super T>> | 
min() | 
 Get a  
Collector that calculates the MIN() function. | 
static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> | 
min(java.util.Comparator<? super T> comparator) | 
 Get a  
Collector that calculates the MIN() function. | 
static <T,U extends java.lang.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,?,java.util.Optional<U>> | 
min(java.util.function.Function<? super T,? extends U> function,
   java.util.Comparator<? super U> comparator) | 
 Get a  
Collector that calculates the MIN() function. | 
static <T extends java.lang.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(java.util.Comparator<? super T> comparator) | 
 Get a  
Collector that calculates the MIN() function, producing multiple results. | 
static <T,U extends java.lang.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,
      java.util.Comparator<? super U> comparator) | 
 Get a  
Collector that calculates the MIN() function, producing multiple results. | 
static <T,U extends java.lang.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,
        java.util.Comparator<? super U> comparator) | 
 Get a  
Collector that calculates the MIN() function, producing multiple results. | 
static <T,U extends java.lang.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,?,java.util.Optional<T>> | 
minBy(java.util.function.Function<? super T,? extends U> function,
     java.util.Comparator<? super U> comparator) | 
 Get a  
Collector that calculates the MIN() function. | 
static <T> java.util.stream.Collector<T,?,java.util.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,?,java.util.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<java.lang.Boolean,?,java.lang.Boolean> | 
noneMatch() | 
 Get a  
Collector that calculates the NONE() function. | 
static <T> java.util.stream.Collector<T,?,java.lang.Boolean> | 
noneMatch(java.util.function.Predicate<? super T> predicate) | 
 Get a  
Collector that calculates the NONE() function. | 
static <T extends java.lang.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,?,java.util.Optional<T>> | 
percentile(double percentile,
          java.util.Comparator<? super T> comparator) | 
 Get a  
Collector that calculates the PERCENTILE_DISC(percentile) function given a specific ordering. | 
static <T,U extends java.lang.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,?,java.util.Optional<U>> | 
percentile(double percentile,
          java.util.function.Function<? super T,? extends U> function,
          java.util.Comparator<? super U> comparator) | 
 Get a  
Collector that calculates the PERCENTILE_DISC(percentile) function given a specific ordering. | 
static <T,U extends java.lang.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,?,java.util.Optional<T>> | 
percentileBy(double percentile,
            java.util.function.Function<? super T,? extends U> function,
            java.util.Comparator<? super U> comparator) | 
 Get a  
Collector that calculates the derived PERCENTILE_DISC(percentile) function given a specific ordering. | 
static <T extends java.lang.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,?,java.util.Optional<java.lang.Double>> | 
percentRank(T value,
           java.util.Comparator<? super T> comparator) | 
 Get a  
Collector that calculates the PERCENT_RANK() function given a specific ordering. | 
static <T,U extends java.lang.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,?,java.util.Optional<java.lang.Double>> | 
percentRankBy(U value,
             java.util.function.Function<? super T,? extends U> function,
             java.util.Comparator<? super U> comparator) | 
 Get a  
Collector that calculates the derived PERCENT_RANK() function given a specific ordering. | 
static <T extends java.lang.Comparable<? super T>> | 
rank(T value) | 
 Get a  
Collector that calculates the RANK() function given natural ordering. | 
static <T> java.util.stream.Collector<T,?,java.util.Optional<java.lang.Long>> | 
rank(T value,
    java.util.Comparator<? super T> comparator) | 
 Get a  
Collector that calculates the RANK() function given a specific ordering. | 
static <T,U extends java.lang.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,?,java.util.Optional<java.lang.Long>> | 
rankBy(U value,
      java.util.function.Function<? super T,? extends U> function,
      java.util.Comparator<? super U> comparator) | 
 Get a  
Collector that calculates the derived RANK() function given a specific ordering. | 
static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> | 
sum() | 
 Get a  
Collector that calculates the SUM() for any
 type of Number. | 
static <T,U> java.util.stream.Collector<T,?,java.util.Optional<U>> | 
sum(java.util.function.Function<? super T,? extends U> function) | 
 Get a  
Collector that calculates the SUM() for any
 type of Number. | 
public static <T,A,R> java.util.stream.Collector<T,?,R> filter(java.util.function.Predicate<? super T> predicate,
                                                               java.util.stream.Collector<T,A,R> downstream)
Collector that filters data passed to downstream collector.public static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> first()
Collector that calculates the FIRST function.
 
 Note that unlike in (Oracle) SQL, where the FIRST function 
 is an ordered set aggregate function that produces a set of results, this
 collector just produces the first value in the order of stream traversal.
 For matching behaviour to Oracle's [ aggregate function ] KEEP 
 (DENSE_RANK FIRST ORDER BY ... ), use maxAll(Comparator) instead.
public static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> last()
Collector that calculates the LAST function.
 
 Note that unlike in (Oracle) SQL, where the FIRST function 
 is an ordered set aggregate function that produces a set of results, this
 collector just produces the first value in the order of stream traversal.
 For matching behaviour to Oracle's [ aggregate function ] KEEP 
 (DENSE_RANK LAST ORDER BY ... ), use minAll(Comparator) instead.
public static <T> java.util.stream.Collector<T,?,java.lang.Long> count()
Collector that calculates the COUNT(*)
 function.public static <T> java.util.stream.Collector<T,?,java.lang.Long> countDistinct()
Collector that calculates the
 COUNT (DISTINCT *) function.public static <T,U> java.util.stream.Collector<T,?,java.lang.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,?,java.util.Optional<T>> sum()
Collector that calculates the SUM() for any
 type of Number.public static <T,U> java.util.stream.Collector<T,?,java.util.Optional<U>> sum(java.util.function.Function<? super T,? extends U> function)
Collector that calculates the SUM() for any
 type of Number.public static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> avg()
Collector that calculates the AVG() for any
 type of Number.public static <T,U> java.util.stream.Collector<T,?,java.util.Optional<U>> avg(java.util.function.Function<? super T,? extends U> function)
Collector that calculates the AVG() for any
 type of Number.public static <T extends java.lang.Comparable<? super T>> java.util.stream.Collector<T,?,java.util.Optional<T>> min()
Collector that calculates the MIN() function.public static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> min(java.util.Comparator<? super T> comparator)
Collector that calculates the MIN() function.public static <T,U extends java.lang.Comparable<? super U>> java.util.stream.Collector<T,?,java.util.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,?,java.util.Optional<U>> min(java.util.function.Function<? super T,? extends U> function,
                                                                              java.util.Comparator<? super U> comparator)
Collector that calculates the MIN() function.public static <T,U extends java.lang.Comparable<? super U>> java.util.stream.Collector<T,?,java.util.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,?,java.util.Optional<T>> minBy(java.util.function.Function<? super T,? extends U> function,
                                                                                java.util.Comparator<? super U> comparator)
Collector that calculates the MIN() function.public static <T extends java.lang.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(java.util.Comparator<? super T> comparator)
Collector that calculates the MIN() function, producing multiple results.public static <T,U extends java.lang.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, java.util.Comparator<? super U> comparator)
Collector that calculates the MIN() function, producing multiple results.public static <T,U extends java.lang.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, java.util.Comparator<? super U> comparator)
Collector that calculates the MIN() function, producing multiple results.public static <T extends java.lang.Comparable<? super T>> java.util.stream.Collector<T,?,java.util.Optional<T>> max()
Collector that calculates the MAX() function.public static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> max(java.util.Comparator<? super T> comparator)
Collector that calculates the MAX() function.public static <T,U extends java.lang.Comparable<? super U>> java.util.stream.Collector<T,?,java.util.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,?,java.util.Optional<U>> max(java.util.function.Function<? super T,? extends U> function,
                                                                              java.util.Comparator<? super U> comparator)
Collector that calculates the MAX() function.public static <T,U extends java.lang.Comparable<? super U>> java.util.stream.Collector<T,?,java.util.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,?,java.util.Optional<T>> maxBy(java.util.function.Function<? super T,? extends U> function,
                                                                                java.util.Comparator<? super U> comparator)
Collector that calculates the MAX() function.public static <T extends java.lang.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(java.util.Comparator<? super T> comparator)
Collector that calculates the MAX() function, producing multiple results.public static <T,U extends java.lang.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, java.util.Comparator<? super U> comparator)
Collector that calculates the MAX() function, producing multiple results.public static <T,U extends java.lang.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, java.util.Comparator<? super U> comparator)
Collector that calculates the MAX() function, producing multiple results.public static java.util.stream.Collector<java.lang.Boolean,?,java.lang.Boolean> allMatch()
Collector that calculates the ALL() function.public static <T> java.util.stream.Collector<T,?,java.lang.Boolean> allMatch(java.util.function.Predicate<? super T> predicate)
Collector that calculates the ALL() function.public static java.util.stream.Collector<java.lang.Boolean,?,java.lang.Boolean> anyMatch()
Collector that calculates the ANY() function.public static <T> java.util.stream.Collector<T,?,java.lang.Boolean> anyMatch(java.util.function.Predicate<? super T> predicate)
Collector that calculates the ANY() function.public static java.util.stream.Collector<java.lang.Boolean,?,java.lang.Boolean> noneMatch()
Collector that calculates the NONE() function.public static <T> java.util.stream.Collector<T,?,java.lang.Boolean> noneMatch(java.util.function.Predicate<? super T> predicate)
Collector that calculates the NONE() function.public static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> bitAnd()
Collector that calculates BIT_AND() for any
 type of Number.public static <T,U> java.util.stream.Collector<T,?,java.util.Optional<U>> bitAnd(java.util.function.Function<? super T,? extends U> function)
Collector that calculates the BIT_AND() for any
 type of Number.public static <T,U> java.util.stream.Collector<T,?,java.lang.Integer> bitAndInt(java.util.function.ToIntFunction<? super T> function)
Collector that calculates the BIT_AND() for any
 type of Number.public static <T,U> java.util.stream.Collector<T,?,java.lang.Long> bitAndLong(java.util.function.ToLongFunction<? super T> function)
Collector that calculates the BIT_AND() for any
 type of Number.public static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> bitOr()
Collector that calculates BIT_OR() for any
 type of Number.public static <T,U> java.util.stream.Collector<T,?,java.util.Optional<U>> bitOr(java.util.function.Function<? super T,? extends U> function)
Collector that calculates the BIT_OR() for any
 type of Number.public static <T,U> java.util.stream.Collector<T,?,java.lang.Integer> bitOrInt(java.util.function.ToIntFunction<? super T> function)
Collector that calculates the BIT_OR() for any
 type of Number.public static <T,U> java.util.stream.Collector<T,?,java.lang.Long> bitOrLong(java.util.function.ToLongFunction<? super T> function)
Collector that calculates the BIT_OR() for any
 type of Number.public static <T> java.util.stream.Collector<T,?,java.util.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,?,java.util.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 java.lang.Comparable<? super T>> java.util.stream.Collector<T,?,java.util.Optional<java.lang.Long>> rank(T value)
Collector that calculates the RANK() function given natural ordering.public static <T> java.util.stream.Collector<T,?,java.util.Optional<java.lang.Long>> rank(T value,
                                                                                          java.util.Comparator<? super T> comparator)
Collector that calculates the RANK() function given a specific ordering.public static <T,U extends java.lang.Comparable<? super U>> java.util.stream.Collector<T,?,java.util.Optional<java.lang.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,?,java.util.Optional<java.lang.Long>> rankBy(U value,
                                                                                              java.util.function.Function<? super T,? extends U> function,
                                                                                              java.util.Comparator<? super U> comparator)
Collector that calculates the derived RANK() function given a specific ordering.public static <T extends java.lang.Comparable<? super T>> java.util.stream.Collector<T,?,java.util.Optional<java.lang.Long>> denseRank(T value)
Collector that calculates the DENSE_RANK() function given natural ordering.public static <T> java.util.stream.Collector<T,?,java.util.Optional<java.lang.Long>> denseRank(T value,
                                                                                               java.util.Comparator<? super T> comparator)
Collector that calculates the DENSE_RANK() function given a specific ordering.public static <T,U extends java.lang.Comparable<? super U>> java.util.stream.Collector<T,?,java.util.Optional<java.lang.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,?,java.util.Optional<java.lang.Long>> denseRankBy(U value,
                                                                                                   java.util.function.Function<? super T,? extends U> function,
                                                                                                   java.util.Comparator<? super U> comparator)
Collector that calculates the derived DENSE_RANK() function given a specific ordering.public static <T extends java.lang.Comparable<? super T>> java.util.stream.Collector<T,?,java.util.Optional<java.lang.Double>> percentRank(T value)
Collector that calculates the PERCENT_RANK() function given natural ordering.public static <T> java.util.stream.Collector<T,?,java.util.Optional<java.lang.Double>> percentRank(T value,
                                                                                                   java.util.Comparator<? super T> comparator)
Collector that calculates the PERCENT_RANK() function given a specific ordering.public static <T,U extends java.lang.Comparable<? super U>> java.util.stream.Collector<T,?,java.util.Optional<java.lang.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,?,java.util.Optional<java.lang.Double>> percentRankBy(U value,
                                                                                                       java.util.function.Function<? super T,? extends U> function,
                                                                                                       java.util.Comparator<? super U> comparator)
Collector that calculates the derived PERCENT_RANK() function given a specific ordering.public static <T extends java.lang.Comparable<? super T>> java.util.stream.Collector<T,?,java.util.Optional<T>> median()
Collector that calculates the MEDIAN() function given natural ordering.public static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> median(java.util.Comparator<? super T> comparator)
Collector that calculates the MEDIAN() function given a specific ordering.public static <T,U extends java.lang.Comparable<? super U>> java.util.stream.Collector<T,?,java.util.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,?,java.util.Optional<U>> median(java.util.function.Function<? super T,? extends U> function,
                                                                                 java.util.Comparator<? super U> comparator)
Collector that calculates the MEDIAN() function given a specific ordering.public static <T,U extends java.lang.Comparable<? super U>> java.util.stream.Collector<T,?,java.util.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,?,java.util.Optional<T>> medianBy(java.util.function.Function<? super T,? extends U> function,
                                                                                   java.util.Comparator<? super U> comparator)
Collector that calculates the derived MEDIAN() function given a specific ordering.public static <T extends java.lang.Comparable<? super T>> java.util.stream.Collector<T,?,java.util.Optional<T>> percentile(double percentile)
Collector that calculates the PERCENTILE_DISC(percentile) function given natural ordering.public static <T> java.util.stream.Collector<T,?,java.util.Optional<T>> percentile(double percentile,
                                                                                   java.util.Comparator<? super T> comparator)
Collector that calculates the PERCENTILE_DISC(percentile) function given a specific ordering.public static <T,U extends java.lang.Comparable<? super U>> java.util.stream.Collector<T,?,java.util.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,?,java.util.Optional<U>> percentile(double percentile,
                                                                                     java.util.function.Function<? super T,? extends U> function,
                                                                                     java.util.Comparator<? super U> comparator)
Collector that calculates the PERCENTILE_DISC(percentile) function given a specific ordering.public static <T,U extends java.lang.Comparable<? super U>> java.util.stream.Collector<T,?,java.util.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,?,java.util.Optional<T>> percentileBy(double percentile,
                                                                                       java.util.function.Function<? super T,? extends U> function,
                                                                                       java.util.Comparator<? super U> comparator)
Collector that calculates the derived PERCENTILE_DISC(percentile) function given a specific ordering.public static java.util.stream.Collector<java.lang.CharSequence,?,java.lang.String> commonPrefix()
Collector that calculates the common prefix of a set of strings.public static java.util.stream.Collector<java.lang.CharSequence,?,java.lang.String> commonSuffix()
Collector that calculates the common suffix of a set of strings.Copyright © 2018. All rights reserved.