Statistic

constructor(report: StatisticReport, name: String)

Construct a new Statistic with the given fixed name.

Parameters

name

The name to give this statistic.

report

The report under which this statistic is classified.


constructor(report: StatisticReport, nameSupplier: () -> String)

Construct a new Statistic with the given name.

Parameters

nameSupplier

A lambda that supplies the name for this statistic.

report

The report under which this statistic is classified.