java.lang.Comparable<Point>
FuzzyPoint
, SimplePoint
public interface Point extends java.lang.Comparable<Point>
Modifier and Type | Interface | Description |
---|---|---|
static interface |
Point.Resolver<T extends Point> |
Used to resolve a position about a point
|
Modifier and Type | Method | Description |
---|---|---|
Point |
clonePoint() |
Returns a copy of this point
|
java.lang.Integer |
getPosition() |
Returns the position held by this object
|
boolean |
isHigher(Point point) |
Returns true if the point is higher in value to the current point
|
boolean |
isLower(Point point) |
Returns true if the current point is at a lower position than the
point given.
|
boolean |
isUncertain() |
Returns a true if the exact point is unknown.
|
boolean |
isUnknown() |
Returns true if the current position is unknown but is
beyond the position encoded for.
|
Point |
offset(int distance) |
Returns a new point offset by the given distance
|
Point |
reverse(int length) |
Returns the equivalent position on the reverse strand
|
java.lang.Integer getPosition()
boolean isUnknown()
>80as encoded by UniProt.
boolean isUncertain()
?80.
Point reverse(int length)
length
- Length of the sequence to translate toPoint offset(int distance)
boolean isLower(Point point)
boolean isHigher(Point point)
Point clonePoint()