Package org.onebusaway.utility
Interface InterpolationStrategy<KEY extends Number,VALUE>
-
public interface InterpolationStrategy<KEY extends Number,VALUE>Defines an interpolation strategy for key-value pairs of arbitrary type. For use inInterpolationLibrary.interpolate(InterpolationStrategy, EOutOfRangeStrategy, java.util.SortedMap, Number).- Author:
- bdferris
- See Also:
InterpolationLibrary.interpolate(InterpolationStrategy, EOutOfRangeStrategy, java.util.SortedMap, Number)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VALUEinterpolate(KEY prevKey, VALUE prevValue, KEY nextKey, VALUE nextValue, double ratio)
-