private static class InterpolationInterval.LongInterpolationInterval extends InterpolationInterval
| Modifier and Type | Field and Description |
|---|---|
private long |
leftValue |
private long |
rightValue |
private WritableLongValue |
target |
rightInterpolator, ticks| Modifier | Constructor and Description |
|---|---|
private |
LongInterpolationInterval(KeyValue keyValue,
long ticks) |
private |
LongInterpolationInterval(KeyValue keyValue,
long ticks,
java.lang.Object leftValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
interpolate(double frac) |
void |
recalculateStartValue() |
create, createprivate final WritableLongValue target
private long leftValue
private final long rightValue
private LongInterpolationInterval(KeyValue keyValue, long ticks, java.lang.Object leftValue)
private LongInterpolationInterval(KeyValue keyValue, long ticks)
public void interpolate(double frac)
interpolate in class InterpolationIntervalpublic void recalculateStartValue()
recalculateStartValue in class InterpolationInterval