|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Position
Holds info about base positions.
Field Summary | |
---|---|
static String |
BETWEEN_BASES
A symbol representing a position that falls in between two bases, eg. |
static Position |
EMPTY_POSITION
The empty position lies nowhere. |
static String |
IN_RANGE
A symbol representing a position that occupies a single base somewhere in a range, eg. |
Method Summary | |
---|---|
int |
getEnd()
Returns the end of the range of bases this base could lie in. |
boolean |
getFuzzyEnd()
Returns true if the position has a fuzzy end. |
boolean |
getFuzzyStart()
Returns true if the position has a fuzzy start. |
int |
getStart()
Returns the beginning of the range of bases this base could lie in. |
String |
getType()
Returns the type of this position if it is not a point/single position. |
Position |
translate(int distance)
Takes this position and returns a copy translated by 'distance' bases. |
Field Detail |
---|
static final Position EMPTY_POSITION
static final String BETWEEN_BASES
static final String IN_RANGE
Method Detail |
---|
boolean getFuzzyStart()
boolean getFuzzyEnd()
int getStart()
int getEnd()
Position translate(int distance)
distance
- the distance to translate it.
String getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |