Package org.openjdk.jmh.results
Interface Aggregator<R extends Result>
-
- Type Parameters:
R
- accepted result type
- All Known Implementing Classes:
StackProfiler.StackResultAggregator
public interface Aggregator<R extends Result>
Aggregator composes multiple results into one. It is assumed the collection has the results of specified type. This class is generic to save some of the unchecked casts in the code.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description R
aggregate(Collection<R> results)
Aggregate the results.
-
-
-
Method Detail
-
aggregate
R aggregate(Collection<R> results)
Aggregate the results.- Parameters:
results
- results to aggregate- Returns:
- aggregated result; may throw exceptions on validation errors
-
-