Interface Point
- 
- All Superinterfaces:
 Comparable<Point>
- All Known Implementing Classes:
 FuzzyPoint,SimplePoint
public interface Point extends Comparable<Point>
Holds a single point part of a location 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfacePoint.Resolver<T extends Point>Used to resolve a position about a point 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PointclonePoint()Returns a copy of this pointIntegergetPosition()Returns the position held by this objectbooleanisHigher(Point point)Returns true if the point is higher in value to the current pointbooleanisLower(Point point)Returns true if the current point is at a lower position than the point given.booleanisUncertain()Returns a true if the exact point is unknown.booleanisUnknown()Returns true if the current position is unknown but is beyond the position encoded for.Pointoffset(int distance)Returns a new point offset by the given distancePointreverse(int length)Returns the equivalent position on the reverse strand- 
Methods inherited from interface java.lang.Comparable
compareTo 
 - 
 
 - 
 
- 
- 
Method Detail
- 
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
Point reverse(int length)
Returns the equivalent position on the reverse strand- Parameters:
 length- Length of the sequence to translate to
 
- 
isLower
boolean isLower(Point point)
Returns true if the current point is at a lower position than the point given. 
- 
isHigher
boolean isHigher(Point point)
Returns true if the point is higher in value to the current point 
- 
clonePoint
Point clonePoint()
Returns a copy of this point 
 - 
 
 -