| Constructor and Description |
|---|
Entry(int total,
int covered) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Entry o)
Returns negative value if coverage percent of this stat entry is less then percent of the specified stat entry
|
int |
getCovered()
Returns covered value.
|
float |
getPercent()
Computes coverage percent.
|
int |
getTotal()
Returns total value.
|
java.lang.String |
toString() |
public int getTotal()
public int getCovered()
public float getPercent()
public int compareTo(Entry o)
compareTo in interface java.lang.Comparable<Entry>o - stat entry to compare withpublic java.lang.String toString()
toString in class java.lang.Object