@API(status=MAINTAINED,
since="1.2.3")
public interface StatisticsCollector
| Modifier and Type | Method and Description |
|---|---|
StatisticsCollector |
collect(java.lang.Object... values)
Call this method to record an entry for statistical data about generated values.
|
void |
coverage(java.util.function.Consumer<StatisticsCoverage> checker)
Perform coverage checking for successful property on statistics.
|
StatisticsCollector collect(java.lang.Object... values)
For examples see Statistics.collect(Object...)
values - Can be anything. The list of these values is considered
a key for the reported table of frequencies. Constraints:
nulljava.lang.IllegalArgumentException - if one of the constraints on values is violated@API(status=EXPERIMENTAL,
since="1.2.3")
void coverage(java.util.function.Consumer<StatisticsCoverage> checker)
For examples see Statistics.coverage(Consumer)
checker - Code that consumes a StatisticsCoverage object