| Package | Description |
|---|---|
| com.landawn.abacus | |
| com.landawn.abacus.util | |
| com.landawn.abacus.util.stream |
| Modifier and Type | Method and Description |
|---|---|
DataSet |
DataSet.groupBy(Collection<String> columnNames,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Collector<? super Object[],?,?> collector) |
<U,E extends Exception> |
DataSet.groupBy(Collection<String> columnNames,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,U,E> rowMapper,
Collector<? super U,?,?> collector) |
<T> DataSet |
DataSet.groupBy(Collection<String> columnNames,
String aggregateResultColumnName,
String aggregateOnColumnName,
Collector<T,?,?> collector) |
<E extends Exception> |
DataSet.groupBy(Collection<String> columnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Collector<? super Object[],?,?> collector) |
<U,E extends Exception,E2 extends Exception> |
DataSet.groupBy(Collection<String> columnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,U,E2> rowMapper,
Collector<? super U,?,?> collector) |
<T,E extends Exception> |
DataSet.groupBy(Collection<String> columnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,?,E> keyMapper,
String aggregateResultColumnName,
String aggregateOnColumnName,
Collector<T,?,?> collector) |
DataSet |
DataSet.groupBy(String columnName,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Collector<? super Object[],?,?> collector) |
<U,E extends Exception> |
DataSet.groupBy(String columnName,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,U,E> rowMapper,
Collector<? super U,?,?> collector) |
<T> DataSet |
DataSet.groupBy(String columnName,
String aggregateResultColumnName,
String aggregateOnColumnName,
Collector<T,?,?> collector) |
<K,E extends Exception> |
DataSet.groupBy(String columnName,
Throwables.Function<K,?,E> keyMapper,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Collector<? super Object[],?,?> collector) |
<K,U,E extends Exception,E2 extends Exception> |
DataSet.groupBy(String columnName,
Throwables.Function<K,?,E> keyMapper,
String aggregateResultColumnName,
Collection<String> aggregateOnColumnNames,
Throwables.Function<? super NoCachingNoUpdating.DisposableObjArray,U,E2> rowMapper,
Collector<? super U,?,?> collector) |
<K,T,E extends Exception> |
DataSet.groupBy(String columnName,
Throwables.Function<K,?,E> keyMapper,
String aggregateResultColumnName,
String aggregateOnColumnName,
Collector<T,?,?> collector) |
| Modifier and Type | Method and Description |
|---|---|
<R,A> ExceptionalStream<R,E> |
ExceptionalStream.collapse(Throwables.BiPredicate<? super T,? super T,? extends E> collapsible,
Collector<? super T,A,R> collector) |
<R,A> R |
ExceptionalStream.collect(Collector<? super T,A,R> collector) |
<R,RR,A,E2 extends Exception> |
ExceptionalStream.collectAndThen(Collector<? super T,A,R> collector,
Throwables.Function<? super R,? extends RR,? extends E2> func)
Collect and then.
|
<K,A,D> ExceptionalStream<Map.Entry<K,D>,E> |
ExceptionalStream.groupBy(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Collector<? super T,A,D> downstream) |
<K,A,D> ExceptionalStream<Map.Entry<K,D>,E> |
ExceptionalStream.groupBy(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Collector<? super T,A,D> downstream,
Supplier<? extends Map<K,D>> mapFactory) |
<K,V,A,D> ExceptionalStream<Map.Entry<K,D>,E> |
ExceptionalStream.groupBy(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Throwables.Function<? super T,? extends V,? extends E> valueMapper,
Collector<? super V,A,D> downstream) |
<K,V,A,D> ExceptionalStream<Map.Entry<K,D>,E> |
ExceptionalStream.groupBy(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Throwables.Function<? super T,? extends V,? extends E> valueMapper,
Collector<? super V,A,D> downstream,
Supplier<? extends Map<K,D>> mapFactory) |
<U,K,A,D> ExceptionalStream<Pair<T,D>,E> |
ExceptionalStream.groupJoin(Collection<? extends U> b,
Throwables.Function<? super T,? extends K,? extends E> leftKeyMapper,
Throwables.Function<? super U,? extends K,? extends E> rightKeyMapper,
Collector<? super U,A,D> downstream) |
<U,K,A,D,R> |
ExceptionalStream.groupJoin(Collection<? extends U> b,
Throwables.Function<? super T,? extends K,? extends E> leftKeyMapper,
Throwables.Function<? super U,? extends K,? extends E> rightKeyMapper,
Collector<? super U,A,D> downstream,
Throwables.BiFunction<? super T,? super D,R,? extends E> func) |
<U,K,A,D,R> |
ExceptionalStream.groupJoin(ExceptionalStream<? extends U,E> b,
Throwables.Function<? super T,? extends K,? extends E> leftKeyMapper,
Throwables.Function<? super U,? extends K,? extends E> rightKeyMapper,
Collector<? super U,A,D> downstream,
Throwables.BiFunction<? super T,? super D,R,? extends E> func) |
<A,R> ExceptionalStream<R,E> |
ExceptionalStream.sliding(int windowSize,
int increment,
Collector<? super T,A,R> collector) |
<R,A> ExceptionalStream<R,E> |
ExceptionalStream.split(int chunkSize,
Collector<? super T,A,R> collector) |
<K,A,D> Map<K,D> |
ExceptionalStream.toMap(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Collector<? super T,A,D> downstream) |
<K,A,D,M extends Map<K,D>> |
ExceptionalStream.toMap(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Collector<? super T,A,D> downstream,
Supplier<? extends M> mapFactory) |
<K,V,A,D> Map<K,D> |
ExceptionalStream.toMap(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Throwables.Function<? super T,? extends V,? extends E> valueMapper,
Collector<? super V,A,D> downstream) |
<K,V,A,D,M extends Map<K,D>> |
ExceptionalStream.toMap(Throwables.Function<? super T,? extends K,? extends E> keyMapper,
Throwables.Function<? super T,? extends V,? extends E> valueMapper,
Collector<? super V,A,D> downstream,
Supplier<? extends M> mapFactory) |
| Modifier and Type | Method and Description |
|---|---|
static <T> Collector<T,?,u.Optional<BigDecimal>> |
Collectors.averagingBigDecimal(Function<? super T,BigDecimal> mapper) |
static <T> Collector<T,?,BigDecimal> |
Collectors.averagingBigDecimalForNonEmpty(Function<? super T,BigDecimal> mapper) |
static <T> Collector<T,?,u.Optional<BigDecimal>> |
Collectors.averagingBigInteger(Function<? super T,BigInteger> mapper) |
static <T> Collector<T,?,BigDecimal> |
Collectors.averagingBigIntegerForNonEmpty(Function<? super T,BigInteger> mapper) |
static <T> Collector<T,?,u.OptionalDouble> |
Collectors.averagingDouble(ToDoubleFunction<? super T> mapper) |
static <T> Collector<T,?,Double> |
Collectors.averagingDoubleForNonEmpty(ToDoubleFunction<? super T> mapper) |
static <T> Collector<T,?,u.OptionalDouble> |
Collectors.averagingInt(ToIntFunction<? super T> mapper) |
static <T> Collector<T,?,Double> |
Collectors.averagingIntForNonEmpty(ToIntFunction<? super T> mapper) |
static <T> Collector<T,?,u.OptionalDouble> |
Collectors.averagingLong(ToLongFunction<? super T> mapper) |
static <T> Collector<T,?,Double> |
Collectors.averagingLongForNonEmpty(ToLongFunction<? super T> mapper) |
static <T,A,R,RR> Collector<T,A,RR> |
Collectors.collectingAndThen(Collector<T,A,R> downstream,
Function<R,RR> finisher) |
static <T,A1,A2,R1,R2> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2) |
static <T,A1,A2,R1,R2,R> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
BiFunction<? super R1,? super R2,R> finisher) |
static <T,A1,A2,A3,R1,R2,R3> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3) |
static <T,A1,A2,A3,A4,R1,R2,R3,R4> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
Collector<? super T,A4,R4> collector4) |
static <T,A1,A2,A3,A4,A5,R1,R2,R3,R4,R5> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
Collector<? super T,A4,R4> collector4,
Collector<? super T,A5,R5> collector5) |
static <T,A1,A2,A3,R1,R2,R3,R> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
TriFunction<? super R1,? super R2,? super R3,R> finisher) |
static <T> Collector<T,?,List<?>> |
Collectors.combine(List<? extends Collector<? super T,?,?>> collectors) |
static Collector<CharSequence,?,String> |
Collectors.commonPrefix()
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static Collector<CharSequence,?,String> |
Collectors.commonSuffix()
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T> Collector<T,?,Long> |
Collectors.counting() |
static <T,K> Collector<T,?,Map<K,Long>> |
Collectors.countingBy(Function<? super T,? extends K> keyMapper) |
static <T,K,M extends Map<K,Long>> |
Collectors.countingBy(Function<? super T,? extends K> keyMapper,
Supplier<? extends M> mapFactory) |
static <T> Collector<T,?,Integer> |
Collectors.countingInt() |
static <T,K> Collector<T,?,Map<K,Integer>> |
Collectors.countingIntBy(Function<? super T,? extends K> keyMapper) |
static <T,K,M extends Map<K,Integer>> |
Collectors.countingIntBy(Function<? super T,? extends K> keyMapper,
Supplier<? extends M> mapFactory) |
static <T> Collector<T,?,List<T>> |
Collectors.distinctBy(Function<? super T,?> mapper)
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T> Collector<T,?,Integer> |
Collectors.distinctCount(Function<? super T,?> mapper)
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T> Collector<T,?,List<T>> |
Collectors.filtering(Predicate<? super T> predicate)
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T,A,R> Collector<T,?,R> |
Collectors.filtering(Predicate<? super T> predicate,
Collector<? super T,A,R> downstream)
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T> Collector<T,?,u.Optional<T>> |
Collectors.first()
Only works for sequential Stream.
|
static <T> Collector<T,?,List<T>> |
Collectors.first(int n)
Only works for sequential Stream.
|
static <T,T2,U> Collector<T,?,List<U>> |
Collectors.flattMapping(Function<? super T,? extends Collection<? extends T2>> flatMapper,
BiFunction<? super T,? super T2,? extends U> mapper) |
static <T,T2,U,A,R> |
Collectors.flattMapping(Function<? super T,? extends Collection<? extends T2>> flatMapper,
BiFunction<? super T,? super T2,? extends U> mapper,
Collector<? super U,A,R> downstream) |
static <T,U> Collector<T,?,List<U>> |
Collectors.flattMapping(Function<? super T,? extends Collection<? extends U>> mapper) |
static <T,U,A,R> Collector<T,?,R> |
Collectors.flattMapping(Function<? super T,? extends Collection<? extends U>> mapper,
Collector<? super U,A,R> downstream) |
static <T,K> Collector<T,?,Map<K,List<T>>> |
Collectors.groupingBy(Function<? super T,? extends K> keyMapper) |
static <T,K,A,D> Collector<T,?,Map<K,D>> |
Collectors.groupingBy(Function<? super T,? extends K> keyMapper,
Collector<? super T,A,D> downstream) |
static <T,K,A,D,M extends Map<K,D>> |
Collectors.groupingBy(Function<? super T,? extends K> keyMapper,
Collector<? super T,A,D> downstream,
Supplier<? extends M> mapFactory) |
static <T,K,M extends Map<K,List<T>>> |
Collectors.groupingBy(Function<? super T,? extends K> keyMapper,
Supplier<? extends M> mapFactory) |
static <T,K> Collector<T,?,ConcurrentMap<K,List<T>>> |
Collectors.groupingByConcurrent(Function<? super T,? extends K> keyMapper) |
static <T,K,A,D> Collector<T,?,ConcurrentMap<K,D>> |
Collectors.groupingByConcurrent(Function<? super T,? extends K> keyMapper,
Collector<? super T,A,D> downstream) |
static <T,K,A,D,M extends ConcurrentMap<K,D>> |
Collectors.groupingByConcurrent(Function<? super T,? extends K> keyMapper,
Collector<? super T,A,D> downstream,
Supplier<? extends M> mapFactory) |
static <T,K,M extends ConcurrentMap<K,List<T>>> |
Collectors.groupingByConcurrent(Function<? super T,? extends K> keyMapper,
Supplier<? extends M> mapFactory) |
static Collector<CharSequence,?,String> |
Collectors.joining() |
static Collector<CharSequence,?,String> |
Collectors.joining(CharSequence delimiter) |
static Collector<CharSequence,?,String> |
Collectors.joining(CharSequence delimiter,
CharSequence prefix,
CharSequence suffix) |
static <T> Collector<T,?,u.Optional<T>> |
Collectors.last()
Only works for sequential Stream.
|
static <T> Collector<T,?,List<T>> |
Collectors.last(int n)
Only works for sequential Stream.
|
static <T,U> Collector<T,?,List<U>> |
Collectors.mapping(Function<? super T,? extends U> mapper) |
static <T,U,A,R> Collector<T,?,R> |
Collectors.mapping(Function<? super T,? extends U> mapper,
Collector<? super U,A,R> downstream) |
static <T extends Comparable<? super T>> |
Collectors.max() |
static <T> Collector<T,?,u.Optional<T>> |
Collectors.max(Comparator<? super T> comparator) |
static <T extends Comparable<? super T>> |
Collectors.maxAll()
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T extends Comparable<? super T>> |
Collectors.maxAll(boolean areAllLargestSame)
Use occurrences to save the count of largest objects if
areAllLargestSame = true(e.g. |
static <T extends Comparable,A,D> |
Collectors.maxAll(Collector<T,A,D> downstream)
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T> Collector<T,?,List<T>> |
Collectors.maxAll(Comparator<? super T> comparator)
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T,A,D> Collector<T,?,D> |
Collectors.maxAll(Comparator<? super T> comparator,
Collector<? super T,A,D> downstream)
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T> Collector<T,?,List<T>> |
Collectors.maxAll(Comparator<? super T> comparator,
int atMostSize) |
static <T> Collector<T,?,List<T>> |
Collectors.maxAll(Comparator<? super T> comparator,
int atMostSize,
boolean areAllLargestSame)
Use occurrences to save the count of largest objects if
areAllLargestSame = true(e.g. |
static <T extends Comparable<? super T>> |
Collectors.maxAll(int atMostSize,
boolean areAllLargestSame)
Use occurrences to save the count of largest objects if
areAllLargestSame = true(e.g. |
static <T extends Comparable,A,D> |
Collectors.maxAlll(Collector<T,A,D> downstream) |
static <T,A,D> Collector<T,?,Pair<u.Optional<T>,D>> |
Collectors.maxAlll(Comparator<? super T> comparator,
Collector<? super T,A,D> downstream) |
static <T,A,D,R> Collector<T,?,R> |
Collectors.maxAlll(Comparator<? super T> comparator,
Collector<? super T,A,D> downstream,
Function<Pair<u.Optional<T>,D>,R> finisher) |
static <T> Collector<T,?,u.Optional<T>> |
Collectors.maxBy(Function<? super T,? extends Comparable> keyMapper) |
static <T> Collector<T,?,T> |
Collectors.maxByOrGet(Function<? super T,? extends Comparable> keyMapper,
Supplier<? extends T> other) |
static <T> Collector<T,?,T> |
Collectors.maxByOrThrow(Function<? super T,? extends Comparable> keyMapper) |
static <T,X extends RuntimeException> |
Collectors.maxByOrThrow(Function<? super T,? extends Comparable> keyMapper,
Supplier<? extends X> exceptionSupplier) |
static <T extends Comparable<? super T>> |
Collectors.maxForNonEmpty() |
static <T> Collector<T,?,T> |
Collectors.maxForNonEmpty(Comparator<? super T> comparator) |
static <T> Collector<T,?,T> |
Collectors.maxOrGet(Comparator<? super T> comparator,
Supplier<? extends T> other) |
static <T> Collector<T,?,T> |
Collectors.maxOrThrow(Comparator<? super T> comparator) |
static <T,X extends RuntimeException> |
Collectors.maxOrThrow(Comparator<? super T> comparator,
Supplier<? extends X> exceptionSupplier) |
static <T extends Comparable<? super T>> |
Collectors.min() |
static <T> Collector<T,?,u.Optional<T>> |
Collectors.min(Comparator<? super T> comparator) |
static <T extends Comparable<? super T>> |
Collectors.minAll()
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T extends Comparable<? super T>> |
Collectors.minAll(boolean areAllSmallestSame)
Use occurrences to save the count of largest objects if
areAllSmallestSame = true(e.g. |
static <T extends Comparable,A,D> |
Collectors.minAll(Collector<T,A,D> downstream)
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T> Collector<T,?,List<T>> |
Collectors.minAll(Comparator<? super T> comparator)
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T,A,D> Collector<T,?,D> |
Collectors.minAll(Comparator<? super T> comparator,
Collector<T,A,D> downstream)
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T> Collector<T,?,List<T>> |
Collectors.minAll(Comparator<? super T> comparator,
int atMostSize) |
static <T> Collector<T,?,List<T>> |
Collectors.minAll(Comparator<? super T> comparator,
int atMostSize,
boolean areAllSmallestSame)
Use occurrences to save the count of largest objects if
areAllSmallestSame = true(e.g. |
static <T extends Comparable<? super T>> |
Collectors.minAll(int atMostSize,
boolean areAllSmallestSame)
Use occurrences to save the count of largest objects if
areAllSmallestSame = true(e.g. |
static <T extends Comparable,A,D> |
Collectors.minAlll(Collector<T,A,D> downstream) |
static <T,A,D> Collector<T,?,Pair<u.Optional<T>,D>> |
Collectors.minAlll(Comparator<? super T> comparator,
Collector<? super T,A,D> downstream) |
static <T,A,D,R> Collector<T,?,R> |
Collectors.minAlll(Comparator<? super T> comparator,
Collector<? super T,A,D> downstream,
Function<Pair<u.Optional<T>,D>,R> finisher) |
static <T> Collector<T,?,u.Optional<T>> |
Collectors.minBy(Function<? super T,? extends Comparable> keyMapper) |
static <T> Collector<T,?,T> |
Collectors.minByOrGet(Function<? super T,? extends Comparable> keyMapper,
Supplier<? extends T> other) |
static <T> Collector<T,?,T> |
Collectors.minByOrThrow(Function<? super T,? extends Comparable> keyMapper) |
static <T,X extends RuntimeException> |
Collectors.minByOrThrow(Function<? super T,? extends Comparable> keyMapper,
Supplier<? extends X> exceptionSupplier) |
static <T extends Comparable<? super T>> |
Collectors.minForNonEmpty() |
static <T> Collector<T,?,T> |
Collectors.minForNonEmpty(Comparator<? super T> comparator) |
static <T extends Comparable> |
Collectors.minMax() |
static <T> Collector<T,?,u.Optional<Pair<T,T>>> |
Collectors.minMax(Comparator<? super T> comparator) |
static <T,R> Collector<T,?,u.Optional<R>> |
Collectors.minMax(Comparator<? super T> comparator,
BiFunction<? super T,? super T,? extends R> finisher)
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T> Collector<T,?,u.Optional<Pair<T,T>>> |
Collectors.minMaxBy(Function<? super T,? extends Comparable> keyMapper) |
static <T,R> Collector<T,?,u.Optional<R>> |
Collectors.minMaxBy(Function<? super T,? extends Comparable> keyMapper,
BiFunction<? super T,? super T,? extends R> finisher) |
static <T extends Comparable<? super T>> |
Collectors.minMaxForNonEmpty() |
static <T> Collector<T,?,Pair<T,T>> |
Collectors.minMaxForNonEmpty(Comparator<? super T> comparator) |
static <T> Collector<T,?,T> |
Collectors.minOrGet(Comparator<? super T> comparator,
Supplier<? extends T> other) |
static <T> Collector<T,?,T> |
Collectors.minOrThrow(Comparator<? super T> comparator) |
static <T,X extends RuntimeException> |
Collectors.minOrThrow(Comparator<? super T> comparator,
Supplier<? extends X> exceptionSupplier) |
static <T> Collector<T,?,u.Optional<T>> |
Collectors.onlyOne()
DuplicatedResultException is threw if there are more than one values are collected. |
static <T> Collector<T,?,u.Optional<T>> |
Collectors.onlyOne(Predicate<? super T> predicate)
DuplicatedResultException is threw if there are more than one values are collected. |
static <T> Collector<T,?,Map<Boolean,List<T>>> |
Collectors.partitioningBy(Predicate<? super T> predicate) |
static <T,D,A> Collector<T,?,Map<Boolean,D>> |
Collectors.partitioningBy(Predicate<? super T> predicate,
Collector<? super T,A,D> downstream) |
static <T> Collector<T,?,u.Optional<T>> |
Collectors.reducing(BinaryOperator<T> op) |
static <T,U> Collector<T,?,u.Optional<U>> |
Collectors.reducing(Function<? super T,? extends U> mapper,
BinaryOperator<U> op) |
static <T> Collector<T,?,T> |
Collectors.reducing(T identity,
BinaryOperator<T> op) |
static <T,U> Collector<T,?,U> |
Collectors.reducing(U identity,
Function<? super T,? extends U> mapper,
BinaryOperator<U> op) |
static <T> Collector<T,?,T> |
Collectors.reducingOrGet(BinaryOperator<T> op,
Supplier<? extends T> other) |
static <T,U> Collector<T,?,U> |
Collectors.reducingOrGet(Function<? super T,? extends U> mapper,
BinaryOperator<U> op,
Supplier<? extends U> other) |
static <T> Collector<T,?,T> |
Collectors.reducingOrThrow(BinaryOperator<T> op) |
static <T,X extends RuntimeException> |
Collectors.reducingOrThrow(BinaryOperator<T> op,
Supplier<? extends X> exceptionSupplier) |
static <T,U> Collector<T,?,U> |
Collectors.reducingOrThrow(Function<? super T,? extends U> mapper,
BinaryOperator<U> op) |
static <T,U,X extends RuntimeException> |
Collectors.reducingOrThrow(Function<? super T,? extends U> mapper,
BinaryOperator<U> op,
Supplier<? extends X> exceptionSupplier) |
static <T> Collector<T,?,BigDecimal> |
Collectors.summingBigDecimal(Function<? super T,BigDecimal> mapper) |
static <T> Collector<T,?,BigInteger> |
Collectors.summingBigInteger(Function<? super T,BigInteger> mapper) |
static <T> Collector<T,?,Double> |
Collectors.summingDouble(ToDoubleFunction<? super T> mapper) |
static <T> Collector<T,?,Long> |
Collectors.summingInt(ToIntFunction<? super T> mapper) |
static <T> Collector<T,?,Long> |
Collectors.summingLong(ToLongFunction<? super T> mapper) |
static <T> Collector<T,?,Object[]> |
Collectors.toArray() |
static <T,A> Collector<T,?,A[]> |
Collectors.toArray(IntFunction<A[]> arraySupplier) |
static <T,A> Collector<T,?,A[]> |
Collectors.toArray(Supplier<A[]> arraySupplier) |
static <T,K,V> Collector<T,?,BiMap<K,V>> |
Collectors.toBiMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper) |
static <T,K,V> Collector<T,?,BiMap<K,V>> |
Collectors.toBiMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
BinaryOperator<V> mergeFunction) |
static <T,K,V> Collector<T,?,BiMap<K,V>> |
Collectors.toBiMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
BinaryOperator<V> mergeFunction,
Supplier<BiMap<K,V>> mapFactory) |
static <T,K,V> Collector<T,?,BiMap<K,V>> |
Collectors.toBiMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
Supplier<BiMap<K,V>> mapFactory) |
static <T,C extends Collection<T>> |
Collectors.toCollection(Supplier<? extends C> collectionFactory) |
static <T,C extends Collection<T>> |
Collectors.toCollection(Supplier<? extends C> collectionFactory,
int atMostSize) |
static <T,K,V> Collector<T,?,ConcurrentMap<K,V>> |
Collectors.toConcurrentMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper) |
static <T,K,V> Collector<T,?,ConcurrentMap<K,V>> |
Collectors.toConcurrentMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
BinaryOperator<V> mergeFunction) |
static <T,K,V,M extends ConcurrentMap<K,V>> |
Collectors.toConcurrentMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
BinaryOperator<V> mergeFunction,
Supplier<? extends M> mapFactory) |
static <T,K,V,M extends ConcurrentMap<K,V>> |
Collectors.toConcurrentMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
Supplier<? extends M> mapFactory) |
static <T> Collector<T,?,DataSet> |
Collectors.toDataSet() |
static <T> Collector<T,?,DataSet> |
Collectors.toDataSet(List<String> columnNames) |
static <T> Collector<T,?,Deque<T>> |
Collectors.toDeque() |
static <T> Collector<T,?,ImmutableList<T>> |
Collectors.toImmutableList() |
static <K,V> Collector<Map.Entry<K,V>,?,ImmutableMap<K,V>> |
Collectors.toImmutableMap() |
static <K,V> Collector<Map.Entry<K,V>,?,ImmutableMap<K,V>> |
Collectors.toImmutableMap(BinaryOperator<V> mergeFunction) |
static <T,K,V> Collector<T,?,ImmutableMap<K,V>> |
Collectors.toImmutableMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper) |
static <T,K,V> Collector<T,?,ImmutableMap<K,V>> |
Collectors.toImmutableMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
BinaryOperator<V> mergeFunction) |
static <T> Collector<T,?,ImmutableSet<T>> |
Collectors.toImmutableSet() |
static <T,K,V> Collector<T,?,Map<K,V>> |
Collectors.toLinkedHashMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper) |
static <T,K,V> Collector<T,?,Map<K,V>> |
Collectors.toLinkedHashMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
BinaryOperator<V> mergeFunction) |
static <T> Collector<T,?,Set<T>> |
Collectors.toLinkedHashSet() |
static <T> Collector<T,?,LinkedList<T>> |
Collectors.toLinkedList() |
static <T> Collector<T,?,List<T>> |
Collectors.toList() |
static <T> Collector<T,?,List<T>> |
Collectors.toList(int atMostSize) |
static <K,V> Collector<Map.Entry<K,V>,?,Map<K,V>> |
Collectors.toMap() |
static <K,V> Collector<Map.Entry<K,V>,?,Map<K,V>> |
Collectors.toMap(BinaryOperator<V> mergeFunction) |
static <K,V,M extends Map<K,V>> |
Collectors.toMap(BinaryOperator<V> mergeFunction,
Supplier<? extends M> mapFactory) |
static <T,K,A,D> Collector<T,?,Map<K,D>> |
Collectors.toMap(Function<? super T,? extends K> keyMapper,
Collector<? super T,A,D> downstream) |
static <T,K,A,D,M extends Map<K,D>> |
Collectors.toMap(Function<? super T,? extends K> keyMapper,
Collector<? super T,A,D> downstream,
Supplier<? extends M> mapFactory) |
static <T,K,V> Collector<T,?,Map<K,V>> |
Collectors.toMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper) |
static <T,K,V> Collector<T,?,Map<K,V>> |
Collectors.toMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
BinaryOperator<V> mergeFunction) |
static <T,K,V,M extends Map<K,V>> |
Collectors.toMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
BinaryOperator<V> mergeFunction,
Supplier<? extends M> mapFactory) |
static <T,K,V,A,D> |
Collectors.toMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
Collector<? super V,A,D> downstream) |
static <T,K,V,A,D,M extends Map<K,D>> |
Collectors.toMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
Collector<? super V,A,D> downstream,
Supplier<? extends M> mapFactory) |
static <T,K,V,M extends Map<K,V>> |
Collectors.toMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
Supplier<? extends M> mapFactory) |
static <K,V,M extends Map<K,V>> |
Collectors.toMap(Supplier<? extends M> mapFactory) |
static <K,V> Collector<Map.Entry<? extends K,? extends V>,?,ListMultimap<K,V>> |
Collectors.toMultimap() |
static <T,K> Collector<T,?,ListMultimap<K,T>> |
Collectors.toMultimap(Function<? super T,? extends K> keyMapper) |
static <T,K,V> Collector<T,?,ListMultimap<K,V>> |
Collectors.toMultimap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper) |
static <T,K,V,C extends Collection<V>,M extends Multimap<K,V,C>> |
Collectors.toMultimap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
Supplier<? extends M> mapFactory) |
static <T,K,C extends Collection<T>,M extends Multimap<K,T,C>> |
Collectors.toMultimap(Function<? super T,? extends K> keyMapper,
Supplier<? extends M> mapFactory) |
static <K,V,C extends Collection<V>,M extends Multimap<K,V,C>> |
Collectors.toMultimap(Supplier<? extends M> mapFactory) |
static <T> Collector<T,?,Multiset<T>> |
Collectors.toMultiset() |
static <T> Collector<T,?,Multiset<T>> |
Collectors.toMultiset(Supplier<Multiset<T>> supplier) |
static <T> Collector<T,?,Queue<T>> |
Collectors.toQueue() |
static <T> Collector<T,?,Set<T>> |
Collectors.toSet() |
static <T> Collector<T,?,Set<T>> |
Collectors.toSet(int atMostSize) |
| Modifier and Type | Method and Description |
|---|---|
static <T,A,R,RR> Collector<T,A,RR> |
Collectors.collectingAndThen(Collector<T,A,R> downstream,
Function<R,RR> finisher) |
static <T,A1,A2,R1,R2> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2) |
static <T,A1,A2,R1,R2> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2) |
static <T,A1,A2,R1,R2,R> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
BiFunction<? super R1,? super R2,R> finisher) |
static <T,A1,A2,R1,R2,R> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
BiFunction<? super R1,? super R2,R> finisher) |
static <T,A1,A2,A3,R1,R2,R3> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3) |
static <T,A1,A2,A3,R1,R2,R3> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3) |
static <T,A1,A2,A3,R1,R2,R3> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3) |
static <T,A1,A2,A3,A4,R1,R2,R3,R4> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
Collector<? super T,A4,R4> collector4) |
static <T,A1,A2,A3,A4,R1,R2,R3,R4> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
Collector<? super T,A4,R4> collector4) |
static <T,A1,A2,A3,A4,R1,R2,R3,R4> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
Collector<? super T,A4,R4> collector4) |
static <T,A1,A2,A3,A4,R1,R2,R3,R4> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
Collector<? super T,A4,R4> collector4) |
static <T,A1,A2,A3,A4,A5,R1,R2,R3,R4,R5> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
Collector<? super T,A4,R4> collector4,
Collector<? super T,A5,R5> collector5) |
static <T,A1,A2,A3,A4,A5,R1,R2,R3,R4,R5> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
Collector<? super T,A4,R4> collector4,
Collector<? super T,A5,R5> collector5) |
static <T,A1,A2,A3,A4,A5,R1,R2,R3,R4,R5> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
Collector<? super T,A4,R4> collector4,
Collector<? super T,A5,R5> collector5) |
static <T,A1,A2,A3,A4,A5,R1,R2,R3,R4,R5> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
Collector<? super T,A4,R4> collector4,
Collector<? super T,A5,R5> collector5) |
static <T,A1,A2,A3,A4,A5,R1,R2,R3,R4,R5> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
Collector<? super T,A4,R4> collector4,
Collector<? super T,A5,R5> collector5) |
static <T,A1,A2,A3,R1,R2,R3,R> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
TriFunction<? super R1,? super R2,? super R3,R> finisher) |
static <T,A1,A2,A3,R1,R2,R3,R> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
TriFunction<? super R1,? super R2,? super R3,R> finisher) |
static <T,A1,A2,A3,R1,R2,R3,R> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
TriFunction<? super R1,? super R2,? super R3,R> finisher) |
static <T,A,R> Collector<T,?,R> |
Collectors.filtering(Predicate<? super T> predicate,
Collector<? super T,A,R> downstream)
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T,T2,U,A,R> |
Collectors.flattMapping(Function<? super T,? extends Collection<? extends T2>> flatMapper,
BiFunction<? super T,? super T2,? extends U> mapper,
Collector<? super U,A,R> downstream) |
static <T,U,A,R> Collector<T,?,R> |
Collectors.flattMapping(Function<? super T,? extends Collection<? extends U>> mapper,
Collector<? super U,A,R> downstream) |
static <T,K,A,D> Collector<T,?,Map<K,D>> |
Collectors.groupingBy(Function<? super T,? extends K> keyMapper,
Collector<? super T,A,D> downstream) |
static <T,K,A,D,M extends Map<K,D>> |
Collectors.groupingBy(Function<? super T,? extends K> keyMapper,
Collector<? super T,A,D> downstream,
Supplier<? extends M> mapFactory) |
static <T,K,A,D> Collector<T,?,ConcurrentMap<K,D>> |
Collectors.groupingByConcurrent(Function<? super T,? extends K> keyMapper,
Collector<? super T,A,D> downstream) |
static <T,K,A,D,M extends ConcurrentMap<K,D>> |
Collectors.groupingByConcurrent(Function<? super T,? extends K> keyMapper,
Collector<? super T,A,D> downstream,
Supplier<? extends M> mapFactory) |
static <T,U,A,R> Collector<T,?,R> |
Collectors.mapping(Function<? super T,? extends U> mapper,
Collector<? super U,A,R> downstream) |
static <T extends Comparable,A,D> |
Collectors.maxAll(Collector<T,A,D> downstream)
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T,A,D> Collector<T,?,D> |
Collectors.maxAll(Comparator<? super T> comparator,
Collector<? super T,A,D> downstream)
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T extends Comparable,A,D> |
Collectors.maxAlll(Collector<T,A,D> downstream) |
static <T,A,D> Collector<T,?,Pair<u.Optional<T>,D>> |
Collectors.maxAlll(Comparator<? super T> comparator,
Collector<? super T,A,D> downstream) |
static <T,A,D,R> Collector<T,?,R> |
Collectors.maxAlll(Comparator<? super T> comparator,
Collector<? super T,A,D> downstream,
Function<Pair<u.Optional<T>,D>,R> finisher) |
static <T extends Comparable,A,D> |
Collectors.minAll(Collector<T,A,D> downstream)
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T,A,D> Collector<T,?,D> |
Collectors.minAll(Comparator<? super T> comparator,
Collector<T,A,D> downstream)
It's copied from StreamEx: https://github.com/amaembo/streamex under Apache License v2 and may be modified.
|
static <T extends Comparable,A,D> |
Collectors.minAlll(Collector<T,A,D> downstream) |
static <T,A,D> Collector<T,?,Pair<u.Optional<T>,D>> |
Collectors.minAlll(Comparator<? super T> comparator,
Collector<? super T,A,D> downstream) |
static <T,A,D,R> Collector<T,?,R> |
Collectors.minAlll(Comparator<? super T> comparator,
Collector<? super T,A,D> downstream,
Function<Pair<u.Optional<T>,D>,R> finisher) |
static <T,D,A> Collector<T,?,Map<Boolean,D>> |
Collectors.partitioningBy(Predicate<? super T> predicate,
Collector<? super T,A,D> downstream) |
static <T,K,A,D> Collector<T,?,Map<K,D>> |
Collectors.toMap(Function<? super T,? extends K> keyMapper,
Collector<? super T,A,D> downstream) |
static <T,K,A,D,M extends Map<K,D>> |
Collectors.toMap(Function<? super T,? extends K> keyMapper,
Collector<? super T,A,D> downstream,
Supplier<? extends M> mapFactory) |
static <T,K,V,A,D> |
Collectors.toMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
Collector<? super V,A,D> downstream) |
static <T,K,V,A,D,M extends Map<K,D>> |
Collectors.toMap(Function<? super T,? extends K> keyMapper,
Function<? super T,? extends V> valueMapper,
Collector<? super V,A,D> downstream,
Supplier<? extends M> mapFactory) |
| Modifier and Type | Method and Description |
|---|---|
static <T> Collector<T,?,List<?>> |
Collectors.combine(List<? extends Collector<? super T,?,?>> collectors) |
Copyright © 2021. All rights reserved.