-
public interface AnalogRangeAnalogRange interface.
- Version:
- $Id: $Id
- Author:
- Robert Savage (http://www.savagehomeautomation.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default IntegergetMax()getMax.default IntegergetMin()getMin.Integermax()max.Integermin()min.default Integersanitize(Integer value)sanitize.default booleanvalidate(Integer value)Bounds check the provided value against the range (min, max)
-
-
-
Method Detail
-
validate
default boolean validate(Integer value)
Bounds check the provided value against the range (min, max)- Parameters:
value- value to test- Returns:
- 'true' if the provided value is inside the defined range
-
-