Class NumericParamRangeUtil

java.lang.Object
ca.uhn.fhir.util.NumericParamRangeUtil

public class NumericParamRangeUtil extends Object
  • Method Details

    • getRange

      public static org.apache.commons.lang3.tuple.Pair<BigDecimal,BigDecimal> getRange(BigDecimal theNumber)
      Provides a Pair containing the low and high boundaries for a range based on the received number characteristics. Note that the scale is used to calculate significant figures
      Parameters:
      theNumber - the number which range is returned
      Returns:
      a Pair of BigDecimal(s) with the low and high range boundaries