org.jdesktop.animation.timing.interpolation
public abstract class Evaluator<T> extends Object
public abstract T evaluate(T v0, T v1, float fraction)
v = v0 + (v1 - v0) * fractionExtenders of Evaluator will need to override this method and do something similar for their own types. Note that this mechanism may be used to create non-linear interpolators for specific value types, although it may besimpler to just use the linear/parametric interpolation technique here and perform non-linear interpolation through custom Interpolators rather than perform custom calculations in this method; the point of this class is to allow calculations with new/unknown types, not to provide another mechanism for non-linear interpolation.