Module com.pi4j

Interface AnalogRange

    • Method Detail

      • getMin

        default Integer getMin()

        getMin.

        Returns:
        a Integer object.
      • getMax

        default Integer getMax()

        getMax.

        Returns:
        a Integer object.
      • 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