Interface Point
- All Superinterfaces:
Comparable<Point>
- All Known Implementing Classes:
FuzzyPoint,SimplePoint
Holds a single point part of a location
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacePoint.Resolver<T extends Point>Used to resolve a position about a point -
Method Summary
Modifier and TypeMethodDescriptionReturns a copy of this pointReturns the position held by this objectbooleanReturns true if the point is higher in value to the current pointbooleanReturns true if the current point is at a lower position than the point given.booleanReturns a true if the exact point is unknown.booleanReturns true if the current position is unknown but is beyond the position encoded for.offset(int distance) Returns a new point offset by the given distancereverse(int length) Returns the equivalent position on the reverse strandMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPosition
Integer getPosition()Returns the position held by this object -
isUnknown
boolean isUnknown()Returns true if the current position is unknown but is beyond the position encoded for. This is the same as the position>80
as encoded by UniProt. -
isUncertain
boolean isUncertain()Returns a true if the exact point is unknown. Equivalent position from UniProt is?80
. -
reverse
Returns the equivalent position on the reverse strand- Parameters:
length- Length of the sequence to translate to
-
offset
Returns a new point offset by the given distance -
isLower
Returns true if the current point is at a lower position than the point given. -
isHigher
Returns true if the point is higher in value to the current point -
clonePoint
Point clonePoint()Returns a copy of this point
-