public static class TargetMetricsCollector.Coverage extends Object
Constructor and Description |
---|
TargetMetricsCollector.Coverage(Interval i,
int padding)
Constructs a new coverage object for the provided mapping with the desired padding either side.
|
Modifier and Type | Method and Description |
---|---|
void |
addBase(int offset)
Adds a single point of depth at the desired offset into the coverage array.
|
short[] |
getDepths()
Gets the coverage depths as an array of shorts.
|
int |
getTotal() |
boolean |
hasCoverage()
Returns true if any base in the range has coverage of > 1
|
String |
toString() |
public TargetMetricsCollector.Coverage(Interval i, int padding)
public void addBase(int offset)
public boolean hasCoverage()
public short[] getDepths()
public int getTotal()