Interface AggregatorFunction<N extends Comparable<N>>
- All Superinterfaces:
AccessScalar<N>, BasicFunction, Consumer<N>, DoubleConsumer, NumberDefinition, VoidFunction<N>
- All Known Implementing Classes:
AggregatorFunction.PredicateWrapper, BigAggregator.BigAggregatorFunction, ComplexAggregator.ComplexAggregatorFunction, PrimitiveAggregator.PrimitiveAggregatorFunction, QuadrupleAggregator.QuadrupleAggregatorFunction, QuaternionAggregator.QuaternionAggregatorFunction, RationalAggregator.RationalAggregatorFunction
public interface AggregatorFunction<N extends Comparable<N>>
extends VoidFunction<N>, AccessScalar<N>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classAggregatorFunction.PredicateWrapper<N extends Comparable<N>>Nested classes/interfaces inherited from interface BasicFunction
BasicFunction.Differentiable<N,F>, BasicFunction.Integratable<N, F>, BasicFunction.PlainUnary<T, R> -
Method Summary
Modifier and TypeMethodDescriptiondefault AggregatorFunction<N> filter(PredicateFunction<N> predicate) Only the values that pass the predicate filter will actually be part of the aggregation.reset()toScalar()Methods inherited from interface AccessScalar
getMethods inherited from interface DoubleConsumer
andThenMethods inherited from interface NumberDefinition
booleanValue, byteValue, doubleValue, floatValue, intValue, longValue, shortValue
-
Method Details
-
filter
Only the values that pass the predicate filter will actually be part of the aggregation. -
reset
AggregatorFunction<N> reset() -
toScalar
-