Class PrePostInterpolator<IN extends AbstractKeyframe<OUT>,OUT>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.TreeMap<Float,IN>
com.ticxo.modelengine.api.animation.interpolator.KeyframeInterpolator<IN,OUT>
com.ticxo.modelengine.api.animation.interpolator.PrePostInterpolator<IN,OUT>
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Float,
,IN> NavigableMap<Float,
,IN> SortedMap<Float,
IN>
public class PrePostInterpolator<IN extends AbstractKeyframe<OUT>,OUT>
extends KeyframeInterpolator<IN,OUT>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ticxo.modelengine.api.animation.interpolator.KeyframeInterpolator
KeyframeInterpolator.Context<IN extends AbstractKeyframe<OUT>,
OUT>, KeyframeInterpolator.Interpolation<IN extends AbstractKeyframe<OUT>, OUT> Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
Fields inherited from class com.ticxo.modelengine.api.animation.interpolator.KeyframeInterpolator
defaultValue, interpolateFunc
-
Constructor Summary
ConstructorsConstructorDescriptionPrePostInterpolator
(KeyframeInterpolator.Interpolation<IN, OUT> interpolateFunc) PrePostInterpolator
(KeyframeInterpolator.Interpolation<IN, OUT> interpolateFunc, Supplier<OUT> def) -
Method Summary
Methods inherited from class com.ticxo.modelengine.api.animation.interpolator.KeyframeInterpolator
getHigherKey, getLowerKey, setDefaultValue, setInterpolateFunc
Methods inherited from class java.util.TreeMap
ceilingEntry, ceilingKey, clear, clone, comparator, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, merge, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, putIfAbsent, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, isEmpty, toString
-
Constructor Details
-
PrePostInterpolator
-
PrePostInterpolator
public PrePostInterpolator(KeyframeInterpolator.Interpolation<IN, OUT> interpolateFunc, Supplier<OUT> def)
-
-
Method Details
-
interpolate
- Overrides:
interpolate
in classKeyframeInterpolator<IN extends AbstractKeyframe<OUT>,
OUT>
-