NumericAggregateFunction

public class NumericAggregateFunction
extends Object

java.lang.Object
   ↳ com.android.tradefed.profiler.recorder.NumericAggregateFunction


A wrapper of BiFunction that aggregates numeric values.

Summary

Public constructors

NumericAggregateFunction(MetricType metricType)

Creates an aggregate function for the given MetricType.

Public methods

BiFunction<Double, Double, Double> getFunction()

Returns the stored aggregate function.

Public constructors

NumericAggregateFunction

NumericAggregateFunction (MetricType metricType)

Creates an aggregate function for the given MetricType.

Parameters
metricType MetricType

Public methods

getFunction

BiFunction<Double, Double, Double> getFunction ()

Returns the stored aggregate function.

Returns
BiFunction<Double, Double, Double>