Package org.biojava.bio.symbol
Interface FuzzyLocation.RangeResolver
-
- All Superinterfaces:
Serializable
- Enclosing class:
- FuzzyLocation
public static interface FuzzyLocation.RangeResolver extends Serializable
Determines how aFuzzyLocationshould be treated when used as a normalLocation. Use one of the implementations of this interface when creating aFuzzyLocationto specify how the fuzzy (inner/outer) properties are translated into the standard Location min and max properties. It is possible to write custom implementations of this to createFuzzyLocationswith exotic behaviour.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intresolveMax(FuzzyLocation loc)Delegate for the getMax() method.intresolveMin(FuzzyLocation loc)Delegate for the getMin() method.
-
-
-
Method Detail
-
resolveMin
int resolveMin(FuzzyLocation loc)
Delegate for the getMin() method.- Parameters:
loc- The Location to resolve- Returns:
- the resolved Min
-
resolveMax
int resolveMax(FuzzyLocation loc)
Delegate for the getMax() method.- Parameters:
loc- The Location to resolve- Returns:
- the resolved Max
-
-