T - The Type of Interpolablepublic interface Interpolable<T>
InterpolatingTreeMap| Modifier and Type | Method and Description |
|---|---|
T |
interpolate(T other,
double x)
Interpolates between this value and an other value according to a given parameter.
|
T interpolate(T other, double x)
other - The value of the upper boundx - The requested value. Should be between 0 and 1.