ResultType
- the type of the children.public abstract class AbstractResultContainer<ResultType extends AbstractResult> extends AbstractResult
Modifier and Type | Field and Description |
---|---|
protected Map<Object,ResultType> |
elements
Map of all elements with the Mapping Method/Class -> ResultType.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractResultContainer(Object paramElem)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Collection<ResultType> |
getIncludedResults()
Getting all elements which are included in this result.
|
ResultType |
getResultForObject(Object obj)
Getting the results for one object.
|
addData, getConf05, getConf95, getElementName, getNumberOfResult, getRegisteredMeters, getRelatedElement, getResultSet, getStandardDeviation, max, mean, min, squareSum, sum, toString
protected final transient Map<Object,ResultType extends AbstractResult> elements
protected AbstractResultContainer(Object paramElem)
paramElem
- related elementpublic final Collection<ResultType> getIncludedResults()
BenchmarkResult
->
ClassResult
; ClassResult
-> MethodResult
;Collection
of the included results.public final ResultType getResultForObject(Object obj)
obj
- the object, can be a Class or a MethodCopyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.