/** * Constructs a KeyValues object from a Evaluator and one or more values. * * @param params * the values to interpolate between. If there is only one * parameter, this is assumed to be a "to" animation where the * first value is dynamically determined at runtime when the * animation is started. * @throws IllegalArgumentException * if params does not have at least one value. */ public static <T> KeyValues<T> create(PropertyInterpolator evaluator, T... params) { return new KeyValues(evaluator, params); }
/** * Constructs a KeyValues object from one or more values. The internal * Evaluator is automatically determined by the type of the parameters. * * @param params * the values to interpolate between. If there is only one * parameter, this is assumed to be a "to" animation where the * first value is dynamically determined at runtime when the * animation is started. * @throws IllegalArgumentException * if an {@link Evaluator} cannot be found that can interpolate * between the value types supplied */ public static <T> KeyValues<T> create(T... params) { return new KeyValues(params); }
/** * Constructs a KeyValues object from a Evaluator and one or more values. * * @param params * the values to interpolate between. If there is only one * parameter, this is assumed to be a "to" animation where the * first value is dynamically determined at runtime when the * animation is started. * @throws IllegalArgumentException * if params does not have at least one value. */ public static <T> KeyValues<T> create(PropertyInterpolator evaluator, T... params) { return new KeyValues(evaluator, params); }
/** * Constructs a KeyValues object from a Evaluator and one or more values. * * @param params * the values to interpolate between. If there is only one * parameter, this is assumed to be a "to" animation where the * first value is dynamically determined at runtime when the * animation is started. * @throws IllegalArgumentException * if params does not have at least one value. */ public static <T> KeyValues<T> create(PropertyInterpolator evaluator, T... params) { return new KeyValues(evaluator, params); }
/** * Constructs a KeyValues object from one or more values. The internal * Evaluator is automatically determined by the type of the parameters. * * @param params * the values to interpolate between. If there is only one * parameter, this is assumed to be a "to" animation where the * first value is dynamically determined at runtime when the * animation is started. * @throws IllegalArgumentException * if a {@link PropertyInterpolator} cannot be found that can interpolate * between the value types supplied */ public static <T> KeyValues<T> create(T... params) { return new KeyValues(params); }
/** * Constructs a KeyValues object from one or more values. The internal * Evaluator is automatically determined by the type of the parameters. * * @param params * the values to interpolate between. If there is only one * parameter, this is assumed to be a "to" animation where the * first value is dynamically determined at runtime when the * animation is started. * @throws IllegalArgumentException * if an {@link Evaluator} cannot be found that can interpolate * between the value types supplied */ public static <T> KeyValues<T> create(T... params) { return new KeyValues(params); }