| Package | Description |
|---|---|
| net.openhft.chronicle.wire.domestic.reduction | |
| net.openhft.chronicle.wire.internal.reduction |
| Modifier and Type | Class and Description |
|---|---|
static class |
Reductions.Counting
A Reduction class that counts the number of excerpts that have been processed.
|
| Modifier and Type | Method and Description |
|---|---|
<A,R> Reduction<R> |
Reduction.ReductionBuilder.collecting(@NotNull Collector<E,A,? extends R> collector)
Creates and returns a new Reduction of type R using the provided
collector. |
static Reduction<LongSupplier> |
Reductions.counting()
Creates and returns a new Reduction that will count the number of excerpts.
|
<A> Reduction<DoubleSupplier> |
Reduction.DoubleReductionBuilder.reducing(@NotNull Supplier<A> supplier,
@NotNull ObjDoubleConsumer<A> accumulator,
@NotNull ToDoubleFunction<A> finisher)
Creates and returns a new Reduction of type DoubleSupplier using the provided
parameters.
|
<A> Reduction<LongSupplier> |
Reduction.LongReductionBuilder.reducing(@NotNull Supplier<A> supplier,
@NotNull ObjLongConsumer<A> accumulator,
@NotNull ToLongFunction<A> finisher)
Creates and returns a new Reduction of type LongSupplier using the provided
parameters.
|
static Reduction<DoubleSupplier> |
Reductions.reducingDouble(@NotNull ToDoubleDocumentExtractor extractor,
double identity,
@NotNull DoubleBinaryOperator accumulator)
Creates and returns a new Reduction that will extract elements of type
double using
the provided extractor and will accumulate values using the provided accumulator. |
static Reduction<LongSupplier> |
Reductions.reducingLong(@NotNull ToLongDocumentExtractor extractor,
long identity,
@NotNull LongBinaryOperator accumulator)
Creates and returns a new Reduction that will extract elements of type
long using
the provided extractor and will accumulate values using the provided accumulator. |
| Modifier and Type | Class and Description |
|---|---|
static class |
ReductionUtil.CollectorReduction<E,A,R> |
static class |
ReductionUtil.DoubleSupplierReduction<A> |
static class |
ReductionUtil.LongSupplierReduction<A> |
| Modifier and Type | Method and Description |
|---|---|
<A,R> Reduction<R> |
ReductionUtil.VanillaReductionBuilder.collecting(@NotNull Collector<E,A,? extends R> collector) |
<A> Reduction<DoubleSupplier> |
ReductionUtil.VanillaDoubleReductionBuilder.reducing(@NotNull Supplier<A> supplier,
@NotNull ObjDoubleConsumer<A> accumulator,
@NotNull ToDoubleFunction<A> finisher) |
<A> Reduction<LongSupplier> |
ReductionUtil.VanillaLongReductionBuilder.reducing(@NotNull Supplier<A> supplier,
@NotNull ObjLongConsumer<A> accumulator,
@NotNull ToLongFunction<A> finisher) |
Copyright © 2023. All rights reserved.