Class BulkIterationBase.TerminationCriterionAggregator

    • Constructor Detail

      • TerminationCriterionAggregator

        public TerminationCriterionAggregator()
    • Method Detail

      • aggregate

        public void aggregate​(long count)
      • aggregate

        public void aggregate​(LongValue count)
        Description copied from interface: Aggregator
        Aggregates the given element. In the case of a sum aggregator, this method adds the given value to the sum.
        Specified by:
        aggregate in interface Aggregator<LongValue>
        Parameters:
        count - The element to aggregate.
      • reset

        public void reset()
        Description copied from interface: Aggregator
        Resets the internal state of the aggregator. This must bring the aggregator into the same state as if it was newly initialized.
        Specified by:
        reset in interface Aggregator<LongValue>