Interface Interpolator<T>

Type Parameters:
T - type of the values to interpolate
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Interpolator<T>
Interpolates values between two boundary values.

This is a simpler and more flexible interface than the class Interpolator. Simpler, because it only interpolates values of one type, T. More flexible, because the values to interpolate don't have to be numbers nor implement Interpolatable.