Class NumericRangeValidator
java.lang.Object
com.jackmeng.halcyoninae.halcyon.utils.NumericRangeValidator
- All Implemented Interfaces:
PropertyValidator
- Since:
- 3.2
- Author:
- Jack Meng
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
step
private final double step -
min
private final double min -
max
private final double max
-
-
Constructor Details
-
NumericRangeValidator
public NumericRangeValidator(double min, double max, double step)
-
-
Method Details
-
isValid
- Specified by:
isValid
in interfacePropertyValidator
- Parameters:
propertyValue
-- Returns:
- boolean
-