Class NumberByDoubleAggregator


public final class NumberByDoubleAggregator extends AbstractNumberAggregator<Double,SumByDoubleAggregatorBucket>
This class can be used to aggregate numbers while grouping them by numerical values.
  • Constructor Details

    • NumberByDoubleAggregator

      public NumberByDoubleAggregator(Comparator<? super Double> p_comparator)
      Create an aggregator for numerical values.

      If a comparator is given "category" values for which this comparator returns a value of zero are considered equal.

      Parameters:
      p_comparator - A comparator for double values, or null.
  • Method Details