Class SingleBound.Bound

    • Field Detail

      • bound

        final Number bound
        Value of the bound.
      • classHashcode

        final int classHashcode
        Hashcode of the value class.
    • Constructor Detail

      • Bound

        Bound​(Number bound,
              String stringFormat)
        Constructor.
        Parameters:
        bound - Number; value of the bound
        stringFormat - String; string representation of this bound with %s for the value
    • Method Detail

      • accept

        abstract boolean accept​(Number value)
        Returns true if the bound accepts the value.
        Parameters:
        value - Number; the value to check
        Returns:
        true if the bound accepts the value