com.ryanm.config.imp
Annotation Type NumberRange


@Documented
@Target(value={METHOD,FIELD})
@Retention(value=RUNTIME)
public @interface NumberRange

Used to add a range limit to numerical variables. Can be aplied to Integer and Float variables, in which case the input should be of the form { min, max }, Vector variables, with input form { minX, minY, minZ, maxX, maxY, maxZ }. Note that for Float and Integer variable, specifying Float.NaN will result in no limit for that particluar bound, i.e.: { 0, Float.NaN } will limit the variable to any positive number.

Author:
ryanm

Required Element Summary
 float[] value
          The boundary values
 

Element Detail

value

public abstract float[] value
The boundary values

Returns:
a float array of boundary values