| EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012) |
|---|
| [all classes][de.uka.ipd.sdq.sensorframework.entities] |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| SensorAndMeasurements.java | 100% (1/1) | 100% (3/3) | 100% (15/15) | 100% (6/6) |
| name | class, % | method, % | block, % | line, % |
|---|---|---|---|---|
| class SensorAndMeasurements | 100% (1/1) | 100% (3/3) | 100% (15/15) | 100% (6/6) |
| SensorAndMeasurements (Sensor, Collection): void | 100% (1/1) | 100% (9/9) | 100% (4/4) | |
| getMeasurements (): Collection | 100% (1/1) | 100% (3/3) | 100% (1/1) | |
| getSensor (): Sensor | 100% (1/1) | 100% (3/3) | 100% (1/1) |
| 1 | package de.uka.ipd.sdq.sensorframework.entities; |
| 2 | |
| 3 | import java.util.Collection; |
| 4 | |
| 5 | /** |
| 6 | * Container class which stores a tuple of a sensor and its measuremnts collection |
| 7 | * @author Steffen Becker |
| 8 | * |
| 9 | */ |
| 10 | public class SensorAndMeasurements { |
| 11 | private final Sensor mySensor; |
| 12 | private final Collection<Measurement> myMeasurements; |
| 13 | |
| 14 | public SensorAndMeasurements(Sensor s, Collection<Measurement> m){ |
| 15 | this.mySensor = s; |
| 16 | this.myMeasurements = m; |
| 17 | } |
| 18 | |
| 19 | public Sensor getSensor() { |
| 20 | return mySensor; |
| 21 | } |
| 22 | |
| 23 | public Collection<Measurement> getMeasurements() { |
| 24 | return myMeasurements; |
| 25 | } |
| 26 | } |
| [all classes][de.uka.ipd.sdq.sensorframework.entities] |
| EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov |