public class FuzzyPoint extends SimplePoint
Point.Resolver<T extends Point>| Modifier and Type | Field and Description | 
|---|---|
static Point.Resolver<FuzzyPoint> | 
MAX_RESOLVER
Always uses the max point to resolve a location 
 | 
static Point.Resolver<FuzzyPoint> | 
MEAN_RESOLVER
Combines min and max and then gets the mean of it 
 | 
static Point.Resolver<FuzzyPoint> | 
MIN_RESOLVER
Always uses the min point to resolve a location 
 | 
| Constructor and Description | 
|---|
FuzzyPoint(int minPoint,
          int maxPoint)  | 
FuzzyPoint(int minPoint,
          int maxPoint,
          Point.Resolver<FuzzyPoint> resolver)  | 
FuzzyPoint(int minPoint,
          int maxPoint,
          Point.Resolver<FuzzyPoint> resolver,
          boolean unknown,
          boolean uncertain)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
compareTo(Point point)  | 
boolean | 
equals(Object obj)  | 
protected Integer | 
getMax()  | 
protected Integer | 
getMin()  | 
Integer | 
getPosition()
Returns the position held by this object 
 | 
protected Point.Resolver<FuzzyPoint> | 
getResolver()  | 
int | 
hashCode()  | 
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 
 | 
clonePoint, isHigher, isLower, isUncertain, isUnknown, reverse, setPosition, setUncertain, setUnknown, toStringpublic static final Point.Resolver<FuzzyPoint> MIN_RESOLVER
public static final Point.Resolver<FuzzyPoint> MAX_RESOLVER
public static final Point.Resolver<FuzzyPoint> MEAN_RESOLVER
public FuzzyPoint(int minPoint, int maxPoint)
public FuzzyPoint(int minPoint, int maxPoint, Point.Resolver<FuzzyPoint> resolver)
public FuzzyPoint(int minPoint, int maxPoint, Point.Resolver<FuzzyPoint> resolver, boolean unknown, boolean uncertain)
public Integer getPosition()
PointgetPosition in interface PointgetPosition in class SimplePointprotected Point.Resolver<FuzzyPoint> getResolver()
public Point reverse(int length)
Pointreverse in interface Pointreverse in class SimplePointlength - Length of the sequence to translate topublic Point offset(int distance)
Pointoffset in interface Pointoffset in class SimplePointpublic boolean equals(Object obj)
equals in class SimplePointpublic int hashCode()
hashCode in class SimplePointpublic int compareTo(Point point)
compareTo in interface Comparable<Point>compareTo in class SimplePointCopyright © 2000–2017 BioJava. All rights reserved.