public class RunsData extends Object implements IQuantitativeMeasure
| Modifier and Type | Field and Description |
|---|---|
protected Map<Long,RunRecord> |
runs
list of recorded runs, each with its information like id,time,memory...etc
|
| Constructor and Description |
|---|
RunsData() |
| Modifier and Type | Method and Description |
|---|---|
void |
addRun(RunRecord record)
It adds the run record with its information
|
RunRecord |
getRun(long runId)
It retrieves the run record with its information
|
double |
getRunInfo(long runId,
String Info)
It gets a specific information from a run record
|
List<RunRecord> |
getRuns()
It retrieves a set of run records with their information
|
void |
setRun(long runId,
RunRecord record)
It sets the run record with its information
|
public RunRecord getRun(long runId)
IQuantitativeMeasuregetRun in interface IQuantitativeMeasurerunId - the id of the runpublic List<RunRecord> getRuns()
IQuantitativeMeasuregetRuns in interface IQuantitativeMeasurepublic void setRun(long runId,
RunRecord record)
IQuantitativeMeasuresetRun in interface IQuantitativeMeasurerunId - the id of the runrecord - the run record datapublic double getRunInfo(long runId,
String Info)
IQuantitativeMeasuregetRunInfo in interface IQuantitativeMeasurerunId - the id of the runInfo - The name of the requested informationpublic void addRun(RunRecord record)
IQuantitativeMeasureaddRun in interface IQuantitativeMeasurerecord - the run record including its informationCopyright © 2020. All rights reserved.