EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012) |
---|
[all classes][de.uka.ipd.sdq.codegen.simudatavisualisation.datatypes] |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
PieEntity.java | 0% (0/1) | 0% (0/4) | 0% (0/27) | 0% (0/9) |
name | class, % | method, % | block, % | line, % |
---|---|---|---|---|
class PieEntity | 0% (0/1) | 0% (0/4) | 0% (0/27) | 0% (0/9) |
PieEntity (double, String): void | 0% (0/1) | 0% (0/15) | 0% (0/6) | |
compareTo (PieEntity): int | 0% (0/1) | 0% (0/6) | 0% (0/1) | |
getLabel (): String | 0% (0/1) | 0% (0/3) | 0% (0/1) | |
getValue (): double | 0% (0/1) | 0% (0/3) | 0% (0/1) |
1 | package de.uka.ipd.sdq.codegen.simudatavisualisation.datatypes; |
2 | |
3 | public class PieEntity implements Comparable<PieEntity> { |
4 | private double value = 0; |
5 | private String label = ""; |
6 | |
7 | public PieEntity(double value, String label) { |
8 | super(); |
9 | this.value = value; |
10 | this.label = label; |
11 | } |
12 | |
13 | public double getValue() { |
14 | return value; |
15 | } |
16 | public String getLabel() { |
17 | return label; |
18 | } |
19 | |
20 | public int compareTo(PieEntity other) { |
21 | return Double.compare(this.value, other.value); |
22 | } |
23 | |
24 | } |
[all classes][de.uka.ipd.sdq.codegen.simudatavisualisation.datatypes] |
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov |