@API(status=EXPERIMENTAL,
since="1.2.3")
public interface StatisticsCoverage
Statistics.coverage(Consumer)
Modifier and Type | Interface and Description |
---|---|
static interface |
StatisticsCoverage.CoverageChecker |
Modifier and Type | Method and Description |
---|---|
StatisticsCoverage.CoverageChecker |
check(java.lang.Object... values)
Select a specific values set for coverage checking.
|
StatisticsCoverage.CoverageChecker |
checkQuery(java.util.function.Predicate<? extends java.util.List<?>> query)
Execute a query for coverage checking.
|
StatisticsCoverage.CoverageChecker check(java.lang.Object... values)
values
- Can be anything. Must be equal to the values used in Statistics.collect(Object...)StatisticsCoverage.CoverageChecker checkQuery(java.util.function.Predicate<? extends java.util.List<?>> query)
query
- A Predicate
that takes the collected values as parameter
and returns true if the specific values shall be counted.