public class GapPattern extends java.lang.Object
PherogramArea
within the area of one base call.Constructor and Description |
---|
GapPattern(int size)
Creates a new instance of this class initially containing no gaps.
|
Modifier and Type | Method and Description |
---|---|
int |
countGaps(int index)
Counts the number of gaps located before the specified position.
|
int |
countGapsBeforeCurveCenter()
Calculates the number of gaps that are located before the center of the trace curves belonging to the region
this gap pattern belongs to.
|
int |
getGapCount()
Returns the number of gaps contained in this pattern
|
boolean |
isGap(int index)
Indicates whether a gap is located at the specified position.
|
void |
setGap(int index,
boolean gap)
This method allows to define whether a gap is located at the specified position or not.
|
int |
size()
Returns the length of this pattern.
|
public GapPattern(int size)
size
- the size the new gap pattern shall havepublic boolean isGap(int index)
index
- the index in this pattern (the compound index in the editable sequence relative to the start of
this gap pattern)true
if a gap is located here, false
otherwisepublic void setGap(int index, boolean gap)
index
- the index in this pattern (the compound index in the editable sequence relative to the start of
this gap pattern)gap
- Specify true
here if a gap shall be located here, false
otherwise.public int size()
public int getGapCount()
public int countGaps(int index)
index
- the index in this pattern (the compound index in the editable sequence relative to the start of
this gap pattern)public int countGapsBeforeCurveCenter()