Methods in org.onebusaway.utility with parameters of type EOutOfRangeStrategy |
static double |
InterpolationLibrary.interpolate(double[] keys,
double[] values,
double target,
EOutOfRangeStrategy outOfRangeStrategy)
|
static
<KEY extends Number,VALUE,ANY_KEY extends KEY,ANY_VALUE extends VALUE>
VALUE |
|
InterpolationLibrary.interpolate(InterpolationStrategy<KEY,VALUE> interpolationStrategy,
EOutOfRangeStrategy outOfRangeStrategy,
SortedMap<ANY_KEY,ANY_VALUE> values,
ANY_KEY target)
Given a SortedMap with key-values that of arbitrary type and a
InterpolationStrategy to define interpolation over those types,
interpolate a value for a target key within the key-range of the map. |
static
|
InterpolationLibrary.interpolate(SortedMap<K,V> values,
K target,
EOutOfRangeStrategy outOfRangeStrategy)
Given a SortedMap with key-values that all extend from
Number , interpolate using linear interpolation a value for a target
key within the key-range of the map. |