TypeEstimator<Number>public class FloatEstimator extends Object implements TypeEstimator<Number>
This class can be used to perform type interpolation between float values.
| 构造器 | 说明 |
|---|---|
FloatEstimator() |
public Float estimate(float progress, Number startKeyValue, Number endKeyValue)
progress representing the proportion between the start and end values.estimate 在接口中 TypeEstimator<Number>progress - The progress from the starting to the ending valuesstartKeyValue - The start value; should be of type float or
floatendKeyValue - The end value; should be of type float or floatprogress parameter.