Interface Reducer<V>

    • Method Detail

      • apply

        V apply​(V value1,
                V value2)
        Aggregate the two given values into a single one.
        Parameters:
        value1 - the first value for the aggregation
        value2 - the second value for the aggregation
        Returns:
        the aggregated value