public interface Collectable<T>
Seq
or Window
delegating
common aggregation functions to collect(Collector)
Modifier and Type | Method and Description |
---|---|
boolean |
allMatch(java.util.function.Predicate<? super T> predicate)
Whether all elements in the collectable match a given predicate.
|
boolean |
anyMatch(java.util.function.Predicate<? super T> predicate)
Whether any element in the collectable matches a given predicate.
|
Optional<T> |
avg()
Get the average of the elements in this collectable.
|
<U> Optional<U> |
avg(java.util.function.Function<? super T,? extends U> function)
Get the average of the elements in this collectable.
|
double |
avgDouble(java.util.function.ToDoubleFunction<? super T> function)
Get the average of the elements in this collectable as
double . |
double |
avgInt(java.util.function.ToIntFunction<? super T> function)
Get the average of the elements in this collectable as
int . |
double |
avgLong(java.util.function.ToLongFunction<? super T> function)
Get the average of the elements in this collectable as
long . |
Optional<T> |
bitAnd()
Collect all bits in this stream into a single value by applying bitwise and.
|
<U> Optional<U> |
bitAnd(java.util.function.Function<? super T,? extends U> function)
Collect all bits in this stream into a single value by applying bitwise and.
|
int |
bitAndInt(java.util.function.ToIntFunction<? super T> function)
Collect all bits in this stream into a single value by applying bitwise and.
|
long |
bitAndLong(java.util.function.ToLongFunction<? super T> function)
Collect all bits in this stream into a single value by applying bitwise and.
|
Optional<T> |
bitOr()
Collect all bits in this stream into a single value by applying bitwise or.
|
<U> Optional<U> |
bitOr(java.util.function.Function<? super T,? extends U> function)
Collect all bits in this stream into a single value by applying bitwise or.
|
int |
bitOrInt(java.util.function.ToIntFunction<? super T> function)
Collect all bits in this stream into a single value by applying bitwise or.
|
long |
bitOrLong(java.util.function.ToLongFunction<? super T> function)
Collect all bits in this stream into a single value by applying bitwise or.
|
default <R1,R2,A1,A2> |
collect(java.util.stream.Collector<? super T,A1,R1> collector1,
java.util.stream.Collector<? super T,A2,R2> collector2)
Collect this collectable into 2
Collector s. |
default <R1,R2,R3,A1,A2,A3> |
collect(java.util.stream.Collector<? super T,A1,R1> collector1,
java.util.stream.Collector<? super T,A2,R2> collector2,
java.util.stream.Collector<? super T,A3,R3> collector3)
Collect this collectable into 3
Collector s. |
default <R1,R2,R3,R4,A1,A2,A3,A4> |
collect(java.util.stream.Collector<? super T,A1,R1> collector1,
java.util.stream.Collector<? super T,A2,R2> collector2,
java.util.stream.Collector<? super T,A3,R3> collector3,
java.util.stream.Collector<? super T,A4,R4> collector4)
Collect this collectable into 4
Collector s. |
default <R1,R2,R3,R4,R5,A1,A2,A3,A4,A5> |
collect(java.util.stream.Collector<? super T,A1,R1> collector1,
java.util.stream.Collector<? super T,A2,R2> collector2,
java.util.stream.Collector<? super T,A3,R3> collector3,
java.util.stream.Collector<? super T,A4,R4> collector4,
java.util.stream.Collector<? super T,A5,R5> collector5)
Collect this collectable into 5
Collector s. |
default <R1,R2,R3,R4,R5,R6,A1,A2,A3,A4,A5,A6> |
collect(java.util.stream.Collector<? super T,A1,R1> collector1,
java.util.stream.Collector<? super T,A2,R2> collector2,
java.util.stream.Collector<? super T,A3,R3> collector3,
java.util.stream.Collector<? super T,A4,R4> collector4,
java.util.stream.Collector<? super T,A5,R5> collector5,
java.util.stream.Collector<? super T,A6,R6> collector6)
Collect this collectable into 6
Collector s. |
default <R1,R2,R3,R4,R5,R6,R7,A1,A2,A3,A4,A5,A6,A7> |
collect(java.util.stream.Collector<? super T,A1,R1> collector1,
java.util.stream.Collector<? super T,A2,R2> collector2,
java.util.stream.Collector<? super T,A3,R3> collector3,
java.util.stream.Collector<? super T,A4,R4> collector4,
java.util.stream.Collector<? super T,A5,R5> collector5,
java.util.stream.Collector<? super T,A6,R6> collector6,
java.util.stream.Collector<? super T,A7,R7> collector7)
Collect this collectable into 7
Collector s. |
default <R1,R2,R3,R4,R5,R6,R7,R8,A1,A2,A3,A4,A5,A6,A7,A8> |
collect(java.util.stream.Collector<? super T,A1,R1> collector1,
java.util.stream.Collector<? super T,A2,R2> collector2,
java.util.stream.Collector<? super T,A3,R3> collector3,
java.util.stream.Collector<? super T,A4,R4> collector4,
java.util.stream.Collector<? super T,A5,R5> collector5,
java.util.stream.Collector<? super T,A6,R6> collector6,
java.util.stream.Collector<? super T,A7,R7> collector7,
java.util.stream.Collector<? super T,A8,R8> collector8)
Collect this collectable into 8
Collector s. |
default <R1,R2,R3,R4,R5,R6,R7,R8,R9,A1,A2,A3,A4,A5,A6,A7,A8,A9> |
collect(java.util.stream.Collector<? super T,A1,R1> collector1,
java.util.stream.Collector<? super T,A2,R2> collector2,
java.util.stream.Collector<? super T,A3,R3> collector3,
java.util.stream.Collector<? super T,A4,R4> collector4,
java.util.stream.Collector<? super T,A5,R5> collector5,
java.util.stream.Collector<? super T,A6,R6> collector6,
java.util.stream.Collector<? super T,A7,R7> collector7,
java.util.stream.Collector<? super T,A8,R8> collector8,
java.util.stream.Collector<? super T,A9,R9> collector9)
Collect this collectable into 9
Collector s. |
default <R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10> |
collect(java.util.stream.Collector<? super T,A1,R1> collector1,
java.util.stream.Collector<? super T,A2,R2> collector2,
java.util.stream.Collector<? super T,A3,R3> collector3,
java.util.stream.Collector<? super T,A4,R4> collector4,
java.util.stream.Collector<? super T,A5,R5> collector5,
java.util.stream.Collector<? super T,A6,R6> collector6,
java.util.stream.Collector<? super T,A7,R7> collector7,
java.util.stream.Collector<? super T,A8,R8> collector8,
java.util.stream.Collector<? super T,A9,R9> collector9,
java.util.stream.Collector<? super T,A10,R10> collector10)
Collect this collectable into 10
Collector s. |
default <R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11> |
collect(java.util.stream.Collector<? super T,A1,R1> collector1,
java.util.stream.Collector<? super T,A2,R2> collector2,
java.util.stream.Collector<? super T,A3,R3> collector3,
java.util.stream.Collector<? super T,A4,R4> collector4,
java.util.stream.Collector<? super T,A5,R5> collector5,
java.util.stream.Collector<? super T,A6,R6> collector6,
java.util.stream.Collector<? super T,A7,R7> collector7,
java.util.stream.Collector<? super T,A8,R8> collector8,
java.util.stream.Collector<? super T,A9,R9> collector9,
java.util.stream.Collector<? super T,A10,R10> collector10,
java.util.stream.Collector<? super T,A11,R11> collector11)
Collect this collectable into 11
Collector s. |
default <R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12> |
collect(java.util.stream.Collector<? super T,A1,R1> collector1,
java.util.stream.Collector<? super T,A2,R2> collector2,
java.util.stream.Collector<? super T,A3,R3> collector3,
java.util.stream.Collector<? super T,A4,R4> collector4,
java.util.stream.Collector<? super T,A5,R5> collector5,
java.util.stream.Collector<? super T,A6,R6> collector6,
java.util.stream.Collector<? super T,A7,R7> collector7,
java.util.stream.Collector<? super T,A8,R8> collector8,
java.util.stream.Collector<? super T,A9,R9> collector9,
java.util.stream.Collector<? super T,A10,R10> collector10,
java.util.stream.Collector<? super T,A11,R11> collector11,
java.util.stream.Collector<? super T,A12,R12> collector12)
Collect this collectable into 12
Collector s. |
default <R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13> |
collect(java.util.stream.Collector<? super T,A1,R1> collector1,
java.util.stream.Collector<? super T,A2,R2> collector2,
java.util.stream.Collector<? super T,A3,R3> collector3,
java.util.stream.Collector<? super T,A4,R4> collector4,
java.util.stream.Collector<? super T,A5,R5> collector5,
java.util.stream.Collector<? super T,A6,R6> collector6,
java.util.stream.Collector<? super T,A7,R7> collector7,
java.util.stream.Collector<? super T,A8,R8> collector8,
java.util.stream.Collector<? super T,A9,R9> collector9,
java.util.stream.Collector<? super T,A10,R10> collector10,
java.util.stream.Collector<? super T,A11,R11> collector11,
java.util.stream.Collector<? super T,A12,R12> collector12,
java.util.stream.Collector<? super T,A13,R13> collector13)
Collect this collectable into 13
Collector s. |
default <R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,R14,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14> |
collect(java.util.stream.Collector<? super T,A1,R1> collector1,
java.util.stream.Collector<? super T,A2,R2> collector2,
java.util.stream.Collector<? super T,A3,R3> collector3,
java.util.stream.Collector<? super T,A4,R4> collector4,
java.util.stream.Collector<? super T,A5,R5> collector5,
java.util.stream.Collector<? super T,A6,R6> collector6,
java.util.stream.Collector<? super T,A7,R7> collector7,
java.util.stream.Collector<? super T,A8,R8> collector8,
java.util.stream.Collector<? super T,A9,R9> collector9,
java.util.stream.Collector<? super T,A10,R10> collector10,
java.util.stream.Collector<? super T,A11,R11> collector11,
java.util.stream.Collector<? super T,A12,R12> collector12,
java.util.stream.Collector<? super T,A13,R13> collector13,
java.util.stream.Collector<? super T,A14,R14> collector14)
Collect this collectable into 14
Collector s. |
default <R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,R14,R15,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15> |
collect(java.util.stream.Collector<? super T,A1,R1> collector1,
java.util.stream.Collector<? super T,A2,R2> collector2,
java.util.stream.Collector<? super T,A3,R3> collector3,
java.util.stream.Collector<? super T,A4,R4> collector4,
java.util.stream.Collector<? super T,A5,R5> collector5,
java.util.stream.Collector<? super T,A6,R6> collector6,
java.util.stream.Collector<? super T,A7,R7> collector7,
java.util.stream.Collector<? super T,A8,R8> collector8,
java.util.stream.Collector<? super T,A9,R9> collector9,
java.util.stream.Collector<? super T,A10,R10> collector10,
java.util.stream.Collector<? super T,A11,R11> collector11,
java.util.stream.Collector<? super T,A12,R12> collector12,
java.util.stream.Collector<? super T,A13,R13> collector13,
java.util.stream.Collector<? super T,A14,R14> collector14,
java.util.stream.Collector<? super T,A15,R15> collector15)
Collect this collectable into 15
Collector s. |
default <R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,R14,R15,R16,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15,A16> |
collect(java.util.stream.Collector<? super T,A1,R1> collector1,
java.util.stream.Collector<? super T,A2,R2> collector2,
java.util.stream.Collector<? super T,A3,R3> collector3,
java.util.stream.Collector<? super T,A4,R4> collector4,
java.util.stream.Collector<? super T,A5,R5> collector5,
java.util.stream.Collector<? super T,A6,R6> collector6,
java.util.stream.Collector<? super T,A7,R7> collector7,
java.util.stream.Collector<? super T,A8,R8> collector8,
java.util.stream.Collector<? super T,A9,R9> collector9,
java.util.stream.Collector<? super T,A10,R10> collector10,
java.util.stream.Collector<? super T,A11,R11> collector11,
java.util.stream.Collector<? super T,A12,R12> collector12,
java.util.stream.Collector<? super T,A13,R13> collector13,
java.util.stream.Collector<? super T,A14,R14> collector14,
java.util.stream.Collector<? super T,A15,R15> collector15,
java.util.stream.Collector<? super T,A16,R16> collector16)
Collect this collectable into 16
Collector s. |
<R,A> R |
collect(java.util.stream.Collector<? super T,A,R> collector)
Collect this collectable.
|
String |
commonPrefix()
Get the common prefix of all strings (or to-stringed values) in this stream.
|
String |
commonSuffix()
Get the common prefix of all strings (or to-stringed values) in this stream.
|
long |
count()
Count the values in this collectable.
|
long |
count(java.util.function.Predicate<? super T> predicate)
Count the values in this collectable, for which a predicate evaluates to
true.
|
long |
countDistinct()
Count the distinct values in this collectable.
|
long |
countDistinct(java.util.function.Predicate<? super T> predicate)
Count the distinct values in this collectable, for which a predicate
evaluates to true.
|
<U> long |
countDistinctBy(java.util.function.Function<? super T,? extends U> function)
Count the distinct values of a given expression in this collectable.
|
<U> long |
countDistinctBy(java.util.function.Function<? super T,? extends U> function,
java.util.function.Predicate<? super U> predicate)
Count the distinct values of a given expression in this collectable, for
which a predicate evaluates to true.
|
Optional<T> |
max()
Get the maximum value.
|
Optional<T> |
max(Comparator<? super T> comparator)
Get the maximum value by a function.
|
<U extends Comparable<? super U>> |
max(java.util.function.Function<? super T,? extends U> function)
Get the maximum value by a function.
|
<U> Optional<U> |
max(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get the maximum value by a function.
|
Seq<T> |
maxAll()
Get the maximum values.
|
Seq<T> |
maxAll(Comparator<? super T> comparator)
Get the maximum values by a function.
|
<U extends Comparable<? super U>> |
maxAll(java.util.function.Function<? super T,? extends U> function)
Get the maximum values by a function.
|
<U> Seq<U> |
maxAll(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get the maximum values by a function.
|
<U extends Comparable<? super U>> |
maxAllBy(java.util.function.Function<? super T,? extends U> function)
Get the maximum values by a function.
|
<U> Seq<T> |
maxAllBy(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get the maximum values by a function.
|
<U extends Comparable<? super U>> |
maxBy(java.util.function.Function<? super T,? extends U> function)
Get the maximum value by a function.
|
<U> Optional<T> |
maxBy(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get the maximum value by a function.
|
Optional<T> |
median()
Get the median value.
|
Optional<T> |
median(Comparator<? super T> comparator)
Get the median value.
|
<U extends Comparable<? super U>> |
medianBy(java.util.function.Function<? super T,? extends U> function)
Get the median value by a function.
|
<U> Optional<T> |
medianBy(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get the median value by a function.
|
Optional<T> |
min()
Get the minimum value.
|
Optional<T> |
min(Comparator<? super T> comparator)
Get the minimum value by a function.
|
<U extends Comparable<? super U>> |
min(java.util.function.Function<? super T,? extends U> function)
Get the minimum value by a function.
|
<U> Optional<U> |
min(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get the minimum value by a function.
|
Seq<T> |
minAll()
Get the minimum values.
|
Seq<T> |
minAll(Comparator<? super T> comparator)
Get the minimum values by a function.
|
<U extends Comparable<? super U>> |
minAll(java.util.function.Function<? super T,? extends U> function)
Get the minimum values by a function.
|
<U> Seq<U> |
minAll(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get the minimum values by a function.
|
<U extends Comparable<? super U>> |
minAllBy(java.util.function.Function<? super T,? extends U> function)
Get the minimum values by a function.
|
<U> Seq<T> |
minAllBy(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get the minimum values by a function.
|
<U extends Comparable<? super U>> |
minBy(java.util.function.Function<? super T,? extends U> function)
Get the minimum value by a function.
|
<U> Optional<T> |
minBy(java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get the minimum value by a function.
|
Optional<T> |
mode()
Get the mode, i.e. the value that appears most often in the collectable.
|
Seq<T> |
modeAll()
Get the mode, i.e. the values that appear most often in the collectable.
|
<U> Seq<T> |
modeAllBy(java.util.function.Function<? super T,? extends U> function)
Get the mode, i.e. the values that appear most often in the collectable.
|
<U> Optional<T> |
modeBy(java.util.function.Function<? super T,? extends U> function)
Get the mode, i.e. the value that appears most often in the collectable.
|
boolean |
noneMatch(java.util.function.Predicate<? super T> predicate)
Whether no element in the collectable matches a given predicate.
|
Optional<T> |
percentile(double percentile)
Get the discrete percentile value.
|
Optional<T> |
percentile(double percentile,
Comparator<? super T> comparator)
Get the discrete percentile value.
|
<U extends Comparable<? super U>> |
percentileBy(double percentile,
java.util.function.Function<? super T,? extends U> function)
Get the discrete percentile value by a function.
|
<U> Optional<T> |
percentileBy(double percentile,
java.util.function.Function<? super T,? extends U> function,
Comparator<? super U> comparator)
Get the discrete percentile value by a function.
|
Optional<T> |
sum()
Get the sum of the elements in this collectable.
|
<U> Optional<U> |
sum(java.util.function.Function<? super T,? extends U> function)
Get the sum of the elements in this collectable.
|
double |
sumDouble(java.util.function.ToDoubleFunction<? super T> function)
Get the sum of the elements in this collectable as
double . |
int |
sumInt(java.util.function.ToIntFunction<? super T> function)
Get the sum of the elements in this collectable as
int . |
long |
sumLong(java.util.function.ToLongFunction<? super T> function)
Get the sum of the elements in this collectable as
long . |
<C extends Collection<T>> |
toCollection(java.util.function.Supplier<C> factory)
Collect the collectable into a
Collection . |
List<T> |
toList()
Collect the collectable into an
ArrayList . |
<L extends List<T>> |
toList(java.util.function.Supplier<L> factory)
Collect the collectable into a
List . |
<K> Map<K,T> |
toMap(java.util.function.Function<? super T,? extends K> keyMapper)
Collect the collectable into a
Map with the given keys and the self element as value. |
<K,V> Map<K,V> |
toMap(java.util.function.Function<? super T,? extends K> keyMapper,
java.util.function.Function<? super T,? extends V> valueMapper)
Collect the collectable into a
Map . |
Set<T> |
toSet()
Collect the collectable into a
LinkedHashSet . |
<S extends Set<T>> |
toSet(java.util.function.Supplier<S> factory)
Collect the collectable into a
Set . |
String |
toString(CharSequence delimiter)
Consume a stream and concatenate all elements using a separator.
|
String |
toString(CharSequence delimiter,
CharSequence prefix,
CharSequence suffix)
Shortcut for calling
Stream.collect(Collector) with a
Collectors.joining(CharSequence, CharSequence, CharSequence)
collector. |
<R,A> R collect(java.util.stream.Collector<? super T,A,R> collector)
@Generated(value="This method was generated using jOOQ-tools") default <R1,R2,A1,A2> Tuple2<R1,R2> collect(java.util.stream.Collector<? super T,A1,R1> collector1, java.util.stream.Collector<? super T,A2,R2> collector2)
Collector
s.@Generated(value="This method was generated using jOOQ-tools") default <R1,R2,R3,A1,A2,A3> Tuple3<R1,R2,R3> collect(java.util.stream.Collector<? super T,A1,R1> collector1, java.util.stream.Collector<? super T,A2,R2> collector2, java.util.stream.Collector<? super T,A3,R3> collector3)
Collector
s.@Generated(value="This method was generated using jOOQ-tools") default <R1,R2,R3,R4,A1,A2,A3,A4> Tuple4<R1,R2,R3,R4> collect(java.util.stream.Collector<? super T,A1,R1> collector1, java.util.stream.Collector<? super T,A2,R2> collector2, java.util.stream.Collector<? super T,A3,R3> collector3, java.util.stream.Collector<? super T,A4,R4> collector4)
Collector
s.@Generated(value="This method was generated using jOOQ-tools") default <R1,R2,R3,R4,R5,A1,A2,A3,A4,A5> Tuple5<R1,R2,R3,R4,R5> collect(java.util.stream.Collector<? super T,A1,R1> collector1, java.util.stream.Collector<? super T,A2,R2> collector2, java.util.stream.Collector<? super T,A3,R3> collector3, java.util.stream.Collector<? super T,A4,R4> collector4, java.util.stream.Collector<? super T,A5,R5> collector5)
Collector
s.@Generated(value="This method was generated using jOOQ-tools") default <R1,R2,R3,R4,R5,R6,A1,A2,A3,A4,A5,A6> Tuple6<R1,R2,R3,R4,R5,R6> collect(java.util.stream.Collector<? super T,A1,R1> collector1, java.util.stream.Collector<? super T,A2,R2> collector2, java.util.stream.Collector<? super T,A3,R3> collector3, java.util.stream.Collector<? super T,A4,R4> collector4, java.util.stream.Collector<? super T,A5,R5> collector5, java.util.stream.Collector<? super T,A6,R6> collector6)
Collector
s.@Generated(value="This method was generated using jOOQ-tools") default <R1,R2,R3,R4,R5,R6,R7,A1,A2,A3,A4,A5,A6,A7> Tuple7<R1,R2,R3,R4,R5,R6,R7> collect(java.util.stream.Collector<? super T,A1,R1> collector1, java.util.stream.Collector<? super T,A2,R2> collector2, java.util.stream.Collector<? super T,A3,R3> collector3, java.util.stream.Collector<? super T,A4,R4> collector4, java.util.stream.Collector<? super T,A5,R5> collector5, java.util.stream.Collector<? super T,A6,R6> collector6, java.util.stream.Collector<? super T,A7,R7> collector7)
Collector
s.@Generated(value="This method was generated using jOOQ-tools") default <R1,R2,R3,R4,R5,R6,R7,R8,A1,A2,A3,A4,A5,A6,A7,A8> Tuple8<R1,R2,R3,R4,R5,R6,R7,R8> collect(java.util.stream.Collector<? super T,A1,R1> collector1, java.util.stream.Collector<? super T,A2,R2> collector2, java.util.stream.Collector<? super T,A3,R3> collector3, java.util.stream.Collector<? super T,A4,R4> collector4, java.util.stream.Collector<? super T,A5,R5> collector5, java.util.stream.Collector<? super T,A6,R6> collector6, java.util.stream.Collector<? super T,A7,R7> collector7, java.util.stream.Collector<? super T,A8,R8> collector8)
Collector
s.@Generated(value="This method was generated using jOOQ-tools") default <R1,R2,R3,R4,R5,R6,R7,R8,R9,A1,A2,A3,A4,A5,A6,A7,A8,A9> Tuple9<R1,R2,R3,R4,R5,R6,R7,R8,R9> collect(java.util.stream.Collector<? super T,A1,R1> collector1, java.util.stream.Collector<? super T,A2,R2> collector2, java.util.stream.Collector<? super T,A3,R3> collector3, java.util.stream.Collector<? super T,A4,R4> collector4, java.util.stream.Collector<? super T,A5,R5> collector5, java.util.stream.Collector<? super T,A6,R6> collector6, java.util.stream.Collector<? super T,A7,R7> collector7, java.util.stream.Collector<? super T,A8,R8> collector8, java.util.stream.Collector<? super T,A9,R9> collector9)
Collector
s.@Generated(value="This method was generated using jOOQ-tools") default <R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10> Tuple10<R1,R2,R3,R4,R5,R6,R7,R8,R9,R10> collect(java.util.stream.Collector<? super T,A1,R1> collector1, java.util.stream.Collector<? super T,A2,R2> collector2, java.util.stream.Collector<? super T,A3,R3> collector3, java.util.stream.Collector<? super T,A4,R4> collector4, java.util.stream.Collector<? super T,A5,R5> collector5, java.util.stream.Collector<? super T,A6,R6> collector6, java.util.stream.Collector<? super T,A7,R7> collector7, java.util.stream.Collector<? super T,A8,R8> collector8, java.util.stream.Collector<? super T,A9,R9> collector9, java.util.stream.Collector<? super T,A10,R10> collector10)
Collector
s.@Generated(value="This method was generated using jOOQ-tools") default <R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11> Tuple11<R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11> collect(java.util.stream.Collector<? super T,A1,R1> collector1, java.util.stream.Collector<? super T,A2,R2> collector2, java.util.stream.Collector<? super T,A3,R3> collector3, java.util.stream.Collector<? super T,A4,R4> collector4, java.util.stream.Collector<? super T,A5,R5> collector5, java.util.stream.Collector<? super T,A6,R6> collector6, java.util.stream.Collector<? super T,A7,R7> collector7, java.util.stream.Collector<? super T,A8,R8> collector8, java.util.stream.Collector<? super T,A9,R9> collector9, java.util.stream.Collector<? super T,A10,R10> collector10, java.util.stream.Collector<? super T,A11,R11> collector11)
Collector
s.@Generated(value="This method was generated using jOOQ-tools") default <R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12> Tuple12<R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12> collect(java.util.stream.Collector<? super T,A1,R1> collector1, java.util.stream.Collector<? super T,A2,R2> collector2, java.util.stream.Collector<? super T,A3,R3> collector3, java.util.stream.Collector<? super T,A4,R4> collector4, java.util.stream.Collector<? super T,A5,R5> collector5, java.util.stream.Collector<? super T,A6,R6> collector6, java.util.stream.Collector<? super T,A7,R7> collector7, java.util.stream.Collector<? super T,A8,R8> collector8, java.util.stream.Collector<? super T,A9,R9> collector9, java.util.stream.Collector<? super T,A10,R10> collector10, java.util.stream.Collector<? super T,A11,R11> collector11, java.util.stream.Collector<? super T,A12,R12> collector12)
Collector
s.@Generated(value="This method was generated using jOOQ-tools") default <R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13> Tuple13<R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13> collect(java.util.stream.Collector<? super T,A1,R1> collector1, java.util.stream.Collector<? super T,A2,R2> collector2, java.util.stream.Collector<? super T,A3,R3> collector3, java.util.stream.Collector<? super T,A4,R4> collector4, java.util.stream.Collector<? super T,A5,R5> collector5, java.util.stream.Collector<? super T,A6,R6> collector6, java.util.stream.Collector<? super T,A7,R7> collector7, java.util.stream.Collector<? super T,A8,R8> collector8, java.util.stream.Collector<? super T,A9,R9> collector9, java.util.stream.Collector<? super T,A10,R10> collector10, java.util.stream.Collector<? super T,A11,R11> collector11, java.util.stream.Collector<? super T,A12,R12> collector12, java.util.stream.Collector<? super T,A13,R13> collector13)
Collector
s.@Generated(value="This method was generated using jOOQ-tools") default <R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,R14,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14> Tuple14<R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,R14> collect(java.util.stream.Collector<? super T,A1,R1> collector1, java.util.stream.Collector<? super T,A2,R2> collector2, java.util.stream.Collector<? super T,A3,R3> collector3, java.util.stream.Collector<? super T,A4,R4> collector4, java.util.stream.Collector<? super T,A5,R5> collector5, java.util.stream.Collector<? super T,A6,R6> collector6, java.util.stream.Collector<? super T,A7,R7> collector7, java.util.stream.Collector<? super T,A8,R8> collector8, java.util.stream.Collector<? super T,A9,R9> collector9, java.util.stream.Collector<? super T,A10,R10> collector10, java.util.stream.Collector<? super T,A11,R11> collector11, java.util.stream.Collector<? super T,A12,R12> collector12, java.util.stream.Collector<? super T,A13,R13> collector13, java.util.stream.Collector<? super T,A14,R14> collector14)
Collector
s.@Generated(value="This method was generated using jOOQ-tools") default <R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,R14,R15,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15> Tuple15<R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,R14,R15> collect(java.util.stream.Collector<? super T,A1,R1> collector1, java.util.stream.Collector<? super T,A2,R2> collector2, java.util.stream.Collector<? super T,A3,R3> collector3, java.util.stream.Collector<? super T,A4,R4> collector4, java.util.stream.Collector<? super T,A5,R5> collector5, java.util.stream.Collector<? super T,A6,R6> collector6, java.util.stream.Collector<? super T,A7,R7> collector7, java.util.stream.Collector<? super T,A8,R8> collector8, java.util.stream.Collector<? super T,A9,R9> collector9, java.util.stream.Collector<? super T,A10,R10> collector10, java.util.stream.Collector<? super T,A11,R11> collector11, java.util.stream.Collector<? super T,A12,R12> collector12, java.util.stream.Collector<? super T,A13,R13> collector13, java.util.stream.Collector<? super T,A14,R14> collector14, java.util.stream.Collector<? super T,A15,R15> collector15)
Collector
s.@Generated(value="This method was generated using jOOQ-tools") default <R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,R14,R15,R16,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,A15,A16> Tuple16<R1,R2,R3,R4,R5,R6,R7,R8,R9,R10,R11,R12,R13,R14,R15,R16> collect(java.util.stream.Collector<? super T,A1,R1> collector1, java.util.stream.Collector<? super T,A2,R2> collector2, java.util.stream.Collector<? super T,A3,R3> collector3, java.util.stream.Collector<? super T,A4,R4> collector4, java.util.stream.Collector<? super T,A5,R5> collector5, java.util.stream.Collector<? super T,A6,R6> collector6, java.util.stream.Collector<? super T,A7,R7> collector7, java.util.stream.Collector<? super T,A8,R8> collector8, java.util.stream.Collector<? super T,A9,R9> collector9, java.util.stream.Collector<? super T,A10,R10> collector10, java.util.stream.Collector<? super T,A11,R11> collector11, java.util.stream.Collector<? super T,A12,R12> collector12, java.util.stream.Collector<? super T,A13,R13> collector13, java.util.stream.Collector<? super T,A14,R14> collector14, java.util.stream.Collector<? super T,A15,R15> collector15, java.util.stream.Collector<? super T,A16,R16> collector16)
Collector
s.long count()
long count(java.util.function.Predicate<? super T> predicate)
long countDistinct()
long countDistinct(java.util.function.Predicate<? super T> predicate)
<U> long countDistinctBy(java.util.function.Function<? super T,? extends U> function)
<U> long countDistinctBy(java.util.function.Function<? super T,? extends U> function, java.util.function.Predicate<? super U> predicate)
<U> Optional<T> modeBy(java.util.function.Function<? super T,? extends U> function)
<U> Seq<T> modeAllBy(java.util.function.Function<? super T,? extends U> function)
<U> Optional<U> sum(java.util.function.Function<? super T,? extends U> function)
int sumInt(java.util.function.ToIntFunction<? super T> function)
int
.long sumLong(java.util.function.ToLongFunction<? super T> function)
long
.double sumDouble(java.util.function.ToDoubleFunction<? super T> function)
double
.<U> Optional<U> avg(java.util.function.Function<? super T,? extends U> function)
double avgInt(java.util.function.ToIntFunction<? super T> function)
int
.double avgLong(java.util.function.ToLongFunction<? super T> function)
long
.double avgDouble(java.util.function.ToDoubleFunction<? super T> function)
double
.Optional<T> min()
This makes the unsafe assumption that
<T extends Comparable<? super T>>
Optional<T> min(Comparator<? super T> comparator)
<U extends Comparable<? super U>> Optional<U> min(java.util.function.Function<? super T,? extends U> function)
<U> Optional<U> min(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
<U extends Comparable<? super U>> Optional<T> minBy(java.util.function.Function<? super T,? extends U> function)
<U> Optional<T> minBy(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Seq<T> minAll()
This makes the unsafe assumption that
<T extends Comparable<? super T>>
Seq<T> minAll(Comparator<? super T> comparator)
<U extends Comparable<? super U>> Seq<U> minAll(java.util.function.Function<? super T,? extends U> function)
<U> Seq<U> minAll(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
<U extends Comparable<? super U>> Seq<T> minAllBy(java.util.function.Function<? super T,? extends U> function)
<U> Seq<T> minAllBy(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Optional<T> max()
This makes the unsafe assumption that
<T extends Comparable<? super T>>
Optional<T> max(Comparator<? super T> comparator)
<U extends Comparable<? super U>> Optional<U> max(java.util.function.Function<? super T,? extends U> function)
<U> Optional<U> max(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
<U extends Comparable<? super U>> Optional<T> maxBy(java.util.function.Function<? super T,? extends U> function)
<U> Optional<T> maxBy(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Seq<T> maxAll()
This makes the unsafe assumption that
<T extends Comparable<? super T>>
Seq<T> maxAll(Comparator<? super T> comparator)
<U extends Comparable<? super U>> Seq<U> maxAll(java.util.function.Function<? super T,? extends U> function)
<U> Seq<U> maxAll(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
<U extends Comparable<? super U>> Seq<T> maxAllBy(java.util.function.Function<? super T,? extends U> function)
<U> Seq<T> maxAllBy(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Optional<T> median()
This makes the unsafe assumption that
<T extends Comparable<? super T>>
Optional<T> median(Comparator<? super T> comparator)
<U extends Comparable<? super U>> Optional<T> medianBy(java.util.function.Function<? super T,? extends U> function)
<U> Optional<T> medianBy(java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
Optional<T> percentile(double percentile)
This makes the unsafe assumption that
<T extends Comparable<? super T>>
Optional<T> percentile(double percentile, Comparator<? super T> comparator)
<U extends Comparable<? super U>> Optional<T> percentileBy(double percentile, java.util.function.Function<? super T,? extends U> function)
<U> Optional<T> percentileBy(double percentile, java.util.function.Function<? super T,? extends U> function, Comparator<? super U> comparator)
boolean allMatch(java.util.function.Predicate<? super T> predicate)
boolean anyMatch(java.util.function.Predicate<? super T> predicate)
boolean noneMatch(java.util.function.Predicate<? super T> predicate)
Optional<T> bitAnd()
<U> Optional<U> bitAnd(java.util.function.Function<? super T,? extends U> function)
int bitAndInt(java.util.function.ToIntFunction<? super T> function)
long bitAndLong(java.util.function.ToLongFunction<? super T> function)
Optional<T> bitOr()
<U> Optional<U> bitOr(java.util.function.Function<? super T,? extends U> function)
int bitOrInt(java.util.function.ToIntFunction<? super T> function)
long bitOrLong(java.util.function.ToLongFunction<? super T> function)
<L extends List<T>> L toList(java.util.function.Supplier<L> factory)
List
.Set<T> toSet()
LinkedHashSet
.<S extends Set<T>> S toSet(java.util.function.Supplier<S> factory)
Set
.<C extends Collection<T>> C toCollection(java.util.function.Supplier<C> factory)
Collection
.<K,V> Map<K,V> toMap(java.util.function.Function<? super T,? extends K> keyMapper, java.util.function.Function<? super T,? extends V> valueMapper)
Map
.<K> Map<K,T> toMap(java.util.function.Function<? super T,? extends K> keyMapper)
Map
with the given keys and the self element as value.String toString(CharSequence delimiter)
String toString(CharSequence delimiter, CharSequence prefix, CharSequence suffix)
Stream.collect(Collector)
with a
Collectors.joining(CharSequence, CharSequence, CharSequence)
collector.String commonPrefix()
String commonSuffix()
Copyright © 2016. All Rights Reserved.