Package org.biojava.bio.symbol
Interface FuzzyLocation.RangeResolver
-
- All Superinterfaces:
Serializable
- Enclosing class:
- FuzzyLocation
public static interface FuzzyLocation.RangeResolver extends Serializable
Determines how aFuzzyLocation
should be treated when used as a normalLocation
. Use one of the implementations of this interface when creating aFuzzyLocation
to 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 createFuzzyLocations
with exotic behaviour.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
resolveMax(FuzzyLocation loc)
Delegate for the getMax() method.int
resolveMin(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
-
-