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