-
public interface AnalogRange
AnalogRange 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 Integer
getMax()
getMax.default Integer
getMin()
getMin.Integer
max()
max.Integer
min()
min.default Integer
sanitize(Integer value)
sanitize.default boolean
validate(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
-
-