public class WorkflowMeasurements extends Object
| Modifier and Type | Field and Description |
|---|---|
private Map |
mStore
The map that stores the list of
Measurement indexed by site name. |
| Constructor and Description |
|---|
WorkflowMeasurements()
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMeasurement(String site,
Measurement record)
Add a Measurement to the store.
|
List |
getMeasurements(String site)
Returns the list of
Measurement objects corresponding to a
particular site. |
Iterator |
siteIterator()
Returns an iterator to list of
String site identifiers
for which data is available. |
void |
sort()
Sorts the records for each site.
|
String |
toString()
Returns textual description of the object.
|
private Map mStore
Measurement indexed by site name.public Iterator siteIterator()
String site identifiers
for which data is available.public List getMeasurements(String site)
Measurement objects corresponding to a
particular site.site - the site for which Measurements are required.public void addMeasurement(String site, Measurement record)
site - the site for which the record is logged.record - the Measurement record.public void sort()
Copyright © 2011 The University of Southern California. All Rights Reserved.