test_class.declarator: mathUtil = new MathUtil()
test_class.modifier: private final
test_class.original_string: private final MathUtil mathUtil = new MathUtil();
test_class.type: MathUtil
test_class.var_name: mathUtil
test_class.file: BackEnd/Core/sailfish-core/src/test/java/com/exactpro/sf/actions/TestMathUtil.java
test_class.identifier: TestMathUtil
test_case.body: @Test
      public void TestMaxDouble() throws UtilityCallException, UtilityNotFoundException, InterruptedException {
          Assert.assertEquals(new Double(-10), (Double)mathUtil.maxDouble(-11d, -10d, -20d));
      }
test_case.class_method_signature: TestMathUtil.TestMaxDouble()
test_case.full_signature: @Test public void TestMaxDouble()
test_case.identifier: TestMaxDouble
test_case.invocations: assertEquals maxDouble
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void TestMaxDouble()
focal_class.declarator: ROUNDING_MODES = "Rounding Modes:<br/>" +
          "<b>UP</b> - Rounding mode to round away from zero.<br/>" +
              "Always increments the digit prior to a nonzero discarded fraction.<br/>" +
          "<b>DOWN</b> - Rounding mode to round towards zero.<br/>" +
              "Never increments the digit prior to a discarded fraction (i.e., truncates).<br/>" +
          "<b>HALF_UP</b> - Rounding mode to round towards \"nearest neighbor\" unless both neighbors are equidistant,<br/>" +
              " in which case round up. Behaves as for UP if the discarded fraction is &ge; 0.5; otherwise, behaves as for DOWN.<br/>" +
          "<b>HALF_DOWN</b> - Rounding mode to round towards \"nearest neighbor\" unless both neighbors are equidistant,<br/>" +
              " in which case round down. Behaves as for UP if the discarded fraction is &gt; 0.5; otherwise, behaves as for DOWN.<br/>" +
          "<b>CEILING</b> - Rounding mode to round towards positive infinity.<br/>" +
              "If the value is positive, behaves as for UP; if negative, behaves as for DOWN.<br/>" +
          "<b>FLOOR</b> - Rounding mode to round towards negative infinity.<br/>" +
              "If the value is positive, behave as for DOWN; if negative, behave as for UP.<br/>"
focal_class.modifier: private static final
focal_class.original_string: private static final String ROUNDING_MODES = "Rounding Modes:<br/>" +
          "<b>UP</b> - Rounding mode to round away from zero.<br/>" +
              "Always increments the digit prior to a nonzero discarded fraction.<br/>" +
          "<b>DOWN</b> - Rounding mode to round towards zero.<br/>" +
              "Never increments the digit prior to a discarded fraction (i.e., truncates).<br/>" +
          "<b>HALF_UP</b> - Rounding mode to round towards \"nearest neighbor\" unless both neighbors are equidistant,<br/>" +
              " in which case round up. Behaves as for UP if the discarded fraction is &ge; 0.5; otherwise, behaves as for DOWN.<br/>" +
          "<b>HALF_DOWN</b> - Rounding mode to round towards \"nearest neighbor\" unless both neighbors are equidistant,<br/>" +
              " in which case round down. Behaves as for UP if the discarded fraction is &gt; 0.5; otherwise, behaves as for DOWN.<br/>" +
          "<b>CEILING</b> - Rounding mode to round towards positive infinity.<br/>" +
              "If the value is positive, behaves as for UP; if negative, behaves as for DOWN.<br/>" +
          "<b>FLOOR</b> - Rounding mode to round towards negative infinity.<br/>" +
              "If the value is positive, behave as for DOWN; if negative, behave as for UP.<br/>";
focal_class.type: String
focal_class.var_name: ROUNDING_MODES
focal_class.file: BackEnd/Core/sailfish-core/src/main/java/com/exactpro/sf/actions/MathUtil.java
focal_class.identifier: MathUtil
focal_class.class_method_signature: MathUtil.ceil(double d)
focal_class.full_signature: @Description("Returns the smallest (closest to negative infinity) double value that is greater than or equal to the argument and is equal to a mathematical integer.<br/>" + "Special cases:<br/>" + "If the argument value is already equal to a mathematical integer, then the result is the same as the argument.<br/>" + "If the argument is NaN or an infinity or positive zero or negative zero, then the result is the same as the argument.<br/>" + "If the argument value is less than zero but greater than -1.0, then the result is negative zero.<br/>" + "Note that the value of Math.ceil(x) is exactly the value of -Math.floor(-x).<br/>" + "<b>d</b> - a double value for ceiling.<br/>" + "Example:<br/>" + "#{ceil(-5.1)} returns -5.0<br/>" + "#{ceil(5.1)} returns 6.0") @UtilityMethod public double ceil(double d)
focal_class.identifier: ceil
focal_class.modifiers: @Description("Returns the smallest (closest to negative infinity) double value that is greater than or equal to the argument and is equal to a mathematical integer.<br/>" + "Special cases:<br/>" + "If the argument value is already equal to a mathematical integer, then the result is the same as the argument.<br/>" + "If the argument is NaN or an infinity or positive zero or negative zero, then the result is the same as the argument.<br/>" + "If the argument value is less than zero but greater than -1.0, then the result is negative zero.<br/>" + "Note that the value of Math.ceil(x) is exactly the value of -Math.floor(-x).<br/>" + "<b>d</b> - a double value for ceiling.<br/>" + "Example:<br/>" + "#{ceil(-5.1)} returns -5.0<br/>" + "#{ceil(5.1)} returns 6.0") @UtilityMethod public
focal_class.parameters: (double d)
focal_class.return: double
focal_class.signature: double ceil(double d)
focal_class.class_method_signature: MathUtil.abs(double d)
focal_class.full_signature: @Description("Returns the smallest (closest to negative infinity) double value that is greater than or equal to the argument and is equal to a mathematical integer.<br/>" + "If the argument is not negative, the argument is returned.<br/>" + "If the argument is negative, the negation of the argument is returned.<br/>" + "Special cases:<br/>" + "If the argument is positive zero or negative zero, the result is positive zero.<br/>" + "If the argument is infinite, the result is positive infinity.<br/>" + "If the argument is NaN, the result is NaN.<br/>" + "<b>d</b> - a double value for obtaining the absolute value.<br/>" + "Example:<br/>" + "#{abs(-5.0)} returns 5.0") @UtilityMethod public double abs(double d)
focal_class.identifier: abs
focal_class.modifiers: @Description("Returns the smallest (closest to negative infinity) double value that is greater than or equal to the argument and is equal to a mathematical integer.<br/>" + "If the argument is not negative, the argument is returned.<br/>" + "If the argument is negative, the negation of the argument is returned.<br/>" + "Special cases:<br/>" + "If the argument is positive zero or negative zero, the result is positive zero.<br/>" + "If the argument is infinite, the result is positive infinity.<br/>" + "If the argument is NaN, the result is NaN.<br/>" + "<b>d</b> - a double value for obtaining the absolute value.<br/>" + "Example:<br/>" + "#{abs(-5.0)} returns 5.0") @UtilityMethod public
focal_class.parameters: (double d)
focal_class.return: double
focal_class.signature: double abs(double d)
focal_class.class_method_signature: MathUtil.abs(float f)
focal_class.full_signature: @Description("Returns the absolute value of a float value.<br/>" + "If the argument is not negative, the argument is returned.<br/>" + "If the argument is negative, the negation of the argument is returned.<br/>" + "Special cases:<br/>" + "If the argument is positive zero or negative zero, the result is positive zero.<br/>" + "If the argument is infinite, the result is positive infinity.<br/>" + "If the argument is NaN, the result is NaN.<br/>" + "<b>f</b> - a float value for obtaining the absolute value.<br/>" + "Example:<br/>" + "#{abs(-5.0f)} returns 5.0") @UtilityMethod public float abs(float f)
focal_class.identifier: abs
focal_class.modifiers: @Description("Returns the absolute value of a float value.<br/>" + "If the argument is not negative, the argument is returned.<br/>" + "If the argument is negative, the negation of the argument is returned.<br/>" + "Special cases:<br/>" + "If the argument is positive zero or negative zero, the result is positive zero.<br/>" + "If the argument is infinite, the result is positive infinity.<br/>" + "If the argument is NaN, the result is NaN.<br/>" + "<b>f</b> - a float value for obtaining the absolute value.<br/>" + "Example:<br/>" + "#{abs(-5.0f)} returns 5.0") @UtilityMethod public
focal_class.parameters: (float f)
focal_class.return: float
focal_class.signature: float abs(float f)
focal_class.class_method_signature: MathUtil.abs(int i)
focal_class.full_signature: @Description("Returns the absolute value of a long value.<br/> " + "If the argument is not negative, the argument is returned.<br/> " + "If the argument is negative, the negation of the argument is returned.<br/>" + "<b>i</b> - an integer value for obtaining the absolute value.<br/>" + "Example:<br/>" + "#{abs(-5)} returns 5") @UtilityMethod public int abs(int i)
focal_class.identifier: abs
focal_class.modifiers: @Description("Returns the absolute value of a long value.<br/> " + "If the argument is not negative, the argument is returned.<br/> " + "If the argument is negative, the negation of the argument is returned.<br/>" + "<b>i</b> - an integer value for obtaining the absolute value.<br/>" + "Example:<br/>" + "#{abs(-5)} returns 5") @UtilityMethod public
focal_class.parameters: (int i)
focal_class.return: int
focal_class.signature: int abs(int i)
focal_class.class_method_signature: MathUtil.abs(long l)
focal_class.full_signature: @Description("Returns the absolute value of a int value.<br/> " + "If the argument is not negative, the argument is returned.<br/> " + "If the argument is negative, the negation of the argument is returned.<br/>" + "<b>l</b> - a long value for obtaining the absolute value.<br/>" + "Example:<br/>" + "#{abs(-555555555l)} returns 555555555") @UtilityMethod public long abs(long l)
focal_class.identifier: abs
focal_class.modifiers: @Description("Returns the absolute value of a int value.<br/> " + "If the argument is not negative, the argument is returned.<br/> " + "If the argument is negative, the negation of the argument is returned.<br/>" + "<b>l</b> - a long value for obtaining the absolute value.<br/>" + "Example:<br/>" + "#{abs(-555555555l)} returns 555555555") @UtilityMethod public
focal_class.parameters: (long l)
focal_class.return: long
focal_class.signature: long abs(long l)
focal_class.class_method_signature: MathUtil.abs(BigDecimal b)
focal_class.full_signature: @Description("Returns the absolute value of a BigDecimal value.<br/>" + "If the argument is not negative, the argument is returned.<br/>" + "If the argument is negative, the negation of the argument is returned.<br/>" + "<b>b</b> - a BigDecimal value for obtaining the absolute value.<br/>" + "Example:<br/>" + "#{abs(-5.0B)} returns 5.0") @UtilityMethod public BigDecimal abs(BigDecimal b)
focal_class.identifier: abs
focal_class.modifiers: @Description("Returns the absolute value of a BigDecimal value.<br/>" + "If the argument is not negative, the argument is returned.<br/>" + "If the argument is negative, the negation of the argument is returned.<br/>" + "<b>b</b> - a BigDecimal value for obtaining the absolute value.<br/>" + "Example:<br/>" + "#{abs(-5.0B)} returns 5.0") @UtilityMethod public
focal_class.parameters: (BigDecimal b)
focal_class.return: BigDecimal
focal_class.signature: BigDecimal abs(BigDecimal b)
focal_class.class_method_signature: MathUtil.floor(double d)
focal_class.full_signature: @Description("Returns the largest (closest to positive infinity) double value that is less than or equal to the argument and is equal to a mathematical integer.<br/>" + "Special cases:<br/>" + "If the argument value is already equal to a mathematical integer, then the result is the same as the argument.<br/>" + "If the argument is NaN or infinity or positive zero or negative zero, then the result is the same as the argument.<br/>" + "<b>d</b> - a double value for flooring.<br/>" + "Example:<br/>" + "#{floor(-5.1)} returns -6.0<br/>" + "#{floor(5.1)} returns 5.0") @UtilityMethod public double floor(double d)
focal_class.identifier: floor
focal_class.modifiers: @Description("Returns the largest (closest to positive infinity) double value that is less than or equal to the argument and is equal to a mathematical integer.<br/>" + "Special cases:<br/>" + "If the argument value is already equal to a mathematical integer, then the result is the same as the argument.<br/>" + "If the argument is NaN or infinity or positive zero or negative zero, then the result is the same as the argument.<br/>" + "<b>d</b> - a double value for flooring.<br/>" + "Example:<br/>" + "#{floor(-5.1)} returns -6.0<br/>" + "#{floor(5.1)} returns 5.0") @UtilityMethod public
focal_class.parameters: (double d)
focal_class.return: double
focal_class.signature: double floor(double d)
focal_class.class_method_signature: MathUtil.nextUp(double d)
focal_class.full_signature: @Description("Returns the floating-point value adjacent to d in the direction of positive infinity.<br/>" + "This method is semantically equivalent to nextAfter(d, Double.POSITIVE_INFINITY); however, a nextUp implementation may run faster than its equivalent nextAfter call.<br/>" + "Special Cases:<br/>" + "If the argument is NaN, the result is NaN.<br/>" + "If the argument is positive infinity, the result is positive infinity.<br/>" + "If the argument is zero, the result is Double.MIN_VALUE<br/>" + "<b>d</b> - a double value for increase.<br/>" + "Example:<br/>" + "#{nextUp(5.0)} returns 5.000000000000001") @UtilityMethod public double nextUp(double d)
focal_class.identifier: nextUp
focal_class.modifiers: @Description("Returns the floating-point value adjacent to d in the direction of positive infinity.<br/>" + "This method is semantically equivalent to nextAfter(d, Double.POSITIVE_INFINITY); however, a nextUp implementation may run faster than its equivalent nextAfter call.<br/>" + "Special Cases:<br/>" + "If the argument is NaN, the result is NaN.<br/>" + "If the argument is positive infinity, the result is positive infinity.<br/>" + "If the argument is zero, the result is Double.MIN_VALUE<br/>" + "<b>d</b> - a double value for increase.<br/>" + "Example:<br/>" + "#{nextUp(5.0)} returns 5.000000000000001") @UtilityMethod public
focal_class.parameters: (double d)
focal_class.return: double
focal_class.signature: double nextUp(double d)
focal_class.class_method_signature: MathUtil.min(Object ... numbers)
focal_class.full_signature: @Description("Returns the minimum of the values <br/>" + "<b>numbers</b> - values for comparison. Must be of the same type<br/>" + "Example:<br/>" + "#{min(5, 4, 3)} returns 3") @UtilityMethod public Object min(Object ... numbers)
focal_class.identifier: min
focal_class.modifiers: @Description("Returns the minimum of the values <br/>" + "<b>numbers</b> - values for comparison. Must be of the same type<br/>" + "Example:<br/>" + "#{min(5, 4, 3)} returns 3") @UtilityMethod public
focal_class.parameters: (Object ... numbers)
focal_class.return: Object
focal_class.signature: Object min(Object ... numbers)
focal_class.class_method_signature: MathUtil.max(Object ... numbers)
focal_class.full_signature: @Description("Returns the maximum of the values <br/>" + "<b>numbers</b> - values for comparison. Must be of the same type<br/>" + "Example:<br/>" + "#{max(5, 4, 3)} returns 5") @UtilityMethod public Object max(Object ... numbers)
focal_class.identifier: max
focal_class.modifiers: @Description("Returns the maximum of the values <br/>" + "<b>numbers</b> - values for comparison. Must be of the same type<br/>" + "Example:<br/>" + "#{max(5, 4, 3)} returns 5") @UtilityMethod public
focal_class.parameters: (Object ... numbers)
focal_class.return: Object
focal_class.signature: Object max(Object ... numbers)
focal_class.class_method_signature: MathUtil.minInt(int ... numbers)
focal_class.full_signature: @Description("Returns the minimum of the int values<br/>" + "<b>numbers</b> - integer values for comparison<br/>" + "Example:<br/>" + "#{minInt(5, 4, 3)} returns 3") @UtilityMethod public int minInt(int ... numbers)
focal_class.identifier: minInt
focal_class.modifiers: @Description("Returns the minimum of the int values<br/>" + "<b>numbers</b> - integer values for comparison<br/>" + "Example:<br/>" + "#{minInt(5, 4, 3)} returns 3") @UtilityMethod public
focal_class.parameters: (int ... numbers)
focal_class.return: int
focal_class.signature: int minInt(int ... numbers)
focal_class.class_method_signature: MathUtil.maxInt(int ... numbers)
focal_class.full_signature: @Description("Returns the maximum of the int values<br/>" + "<b>numbers</b> - integer values for comparison<br/>" + "Example:<br/>" + "#{maxInt(5, 4, 3)} returns 5") @UtilityMethod public int maxInt(int ... numbers)
focal_class.identifier: maxInt
focal_class.modifiers: @Description("Returns the maximum of the int values<br/>" + "<b>numbers</b> - integer values for comparison<br/>" + "Example:<br/>" + "#{maxInt(5, 4, 3)} returns 5") @UtilityMethod public
focal_class.parameters: (int ... numbers)
focal_class.return: int
focal_class.signature: int maxInt(int ... numbers)
focal_class.class_method_signature: MathUtil.minLong(long ... numbers)
focal_class.full_signature: @Description("Returns the minimum of the long values<br/>" + "<b>numbers</b> - long integer values for comparison<br/>" + "Example:<br/>" + "#{minLong(55555555555l, 44444444444l, 33333333333l)} returns 33333333333") @UtilityMethod public long minLong(long ... numbers)
focal_class.identifier: minLong
focal_class.modifiers: @Description("Returns the minimum of the long values<br/>" + "<b>numbers</b> - long integer values for comparison<br/>" + "Example:<br/>" + "#{minLong(55555555555l, 44444444444l, 33333333333l)} returns 33333333333") @UtilityMethod public
focal_class.parameters: (long ... numbers)
focal_class.return: long
focal_class.signature: long minLong(long ... numbers)
focal_class.class_method_signature: MathUtil.maxLong(long ... numbers)
focal_class.full_signature: @Description("Returns the maximum of the long values<br/>" + "<b>numbers</b> - long integer values for comparison<br/>" + "Example:<br/>" + "#{maxLong(55555555555l, 44444444444l, 33333333333l)} returns 55555555555") @UtilityMethod public long maxLong(long ... numbers)
focal_class.identifier: maxLong
focal_class.modifiers: @Description("Returns the maximum of the long values<br/>" + "<b>numbers</b> - long integer values for comparison<br/>" + "Example:<br/>" + "#{maxLong(55555555555l, 44444444444l, 33333333333l)} returns 55555555555") @UtilityMethod public
focal_class.parameters: (long ... numbers)
focal_class.return: long
focal_class.signature: long maxLong(long ... numbers)
focal_class.class_method_signature: MathUtil.minChar(char ... numbers)
focal_class.full_signature: @Description("Returns the minimum of the char values <br/>" + "<b>numbers</b> - char values for comparison<br/>" + "Example:<br/>" + "#{minChar('1', '0', '2')} returns '0'") @UtilityMethod public char minChar(char ... numbers)
focal_class.identifier: minChar
focal_class.modifiers: @Description("Returns the minimum of the char values <br/>" + "<b>numbers</b> - char values for comparison<br/>" + "Example:<br/>" + "#{minChar('1', '0', '2')} returns '0'") @UtilityMethod public
focal_class.parameters: (char ... numbers)
focal_class.return: char
focal_class.signature: char minChar(char ... numbers)
focal_class.class_method_signature: MathUtil.maxChar(char ... numbers)
focal_class.full_signature: @Description("Returns the maximum of the char values <br/>" + "<b>numbers</b> - char values for comparison<br/>" + "Example:<br/>" + "#{minChar('1', '0', '2')} returns '2'") @UtilityMethod public char maxChar(char ... numbers)
focal_class.identifier: maxChar
focal_class.modifiers: @Description("Returns the maximum of the char values <br/>" + "<b>numbers</b> - char values for comparison<br/>" + "Example:<br/>" + "#{minChar('1', '0', '2')} returns '2'") @UtilityMethod public
focal_class.parameters: (char ... numbers)
focal_class.return: char
focal_class.signature: char maxChar(char ... numbers)
focal_class.class_method_signature: MathUtil.minDouble(double ... numbers)
focal_class.full_signature: @Description("Returns the minimum of the double values<br/>" + "<b>numbers</b> - double values for comparison<br/>" + "Example:<br/>" + "#{minDouble(5.0, 4.0, 3.0)} returns 3.0") @UtilityMethod public double minDouble(double ... numbers)
focal_class.identifier: minDouble
focal_class.modifiers: @Description("Returns the minimum of the double values<br/>" + "<b>numbers</b> - double values for comparison<br/>" + "Example:<br/>" + "#{minDouble(5.0, 4.0, 3.0)} returns 3.0") @UtilityMethod public
focal_class.parameters: (double ... numbers)
focal_class.return: double
focal_class.signature: double minDouble(double ... numbers)
focal_class.class_method_signature: MathUtil.maxDouble(double ... numbers)
focal_class.full_signature: @Description("Returns the maximum of the double values<br/>" + "<b>numbers</b> - double values for comparison<br/>" + "Example:<br/>" + "#{minDouble(5.0, 4.0, 3.0)} returns 5.0") @UtilityMethod public double maxDouble(double ... numbers)
focal_class.identifier: maxDouble
focal_class.modifiers: @Description("Returns the maximum of the double values<br/>" + "<b>numbers</b> - double values for comparison<br/>" + "Example:<br/>" + "#{minDouble(5.0, 4.0, 3.0)} returns 5.0") @UtilityMethod public
focal_class.parameters: (double ... numbers)
focal_class.return: double
focal_class.signature: double maxDouble(double ... numbers)
focal_class.class_method_signature: MathUtil.minBigDecimal(BigDecimal... numbers)
focal_class.full_signature: @Description("Returns the minimum of the BigDecimal values <br/>" + "<b>numbers</b> - BigDecimal values for comparison<br/>" + "Example:<br/>" + "#{minBigDecimal(5.0B, 4.0B, 3.0B)} returns 3.0") @UtilityMethod public BigDecimal minBigDecimal(BigDecimal... numbers)
focal_class.identifier: minBigDecimal
focal_class.modifiers: @Description("Returns the minimum of the BigDecimal values <br/>" + "<b>numbers</b> - BigDecimal values for comparison<br/>" + "Example:<br/>" + "#{minBigDecimal(5.0B, 4.0B, 3.0B)} returns 3.0") @UtilityMethod public
focal_class.parameters: (BigDecimal... numbers)
focal_class.return: BigDecimal
focal_class.signature: BigDecimal minBigDecimal(BigDecimal... numbers)
focal_class.class_method_signature: MathUtil.maxBigDecimal(BigDecimal... numbers)
focal_class.full_signature: @Description("Returns the maximum of the BigDecimal values <br/>" + "<b>numbers</b> - BigDecimal values for comparison<br/>" + "Example:<br/>" + "#{maxBigDecimal(5.0B, 4.0B, 3.0B)} returns 5.0") @UtilityMethod public BigDecimal maxBigDecimal(BigDecimal... numbers)
focal_class.identifier: maxBigDecimal
focal_class.modifiers: @Description("Returns the maximum of the BigDecimal values <br/>" + "<b>numbers</b> - BigDecimal values for comparison<br/>" + "Example:<br/>" + "#{maxBigDecimal(5.0B, 4.0B, 3.0B)} returns 5.0") @UtilityMethod public
focal_class.parameters: (BigDecimal... numbers)
focal_class.return: BigDecimal
focal_class.signature: BigDecimal maxBigDecimal(BigDecimal... numbers)
focal_class.class_method_signature: MathUtil.round(double d, int precision)
focal_class.full_signature: @Description("Rounds <b>d</b> with specified <b>precision</b><br/>" + "<b>d</b> - double value for rounding<br/>" + "<b>precision</b> - the number of digits after the decimal separator<br/>" + "Example:<br/>" + "#{round(5.4564638, 4)} returns 5.4565") @UtilityMethod public double round(double d, int precision)
focal_class.identifier: round
focal_class.modifiers: @Description("Rounds <b>d</b> with specified <b>precision</b><br/>" + "<b>d</b> - double value for rounding<br/>" + "<b>precision</b> - the number of digits after the decimal separator<br/>" + "Example:<br/>" + "#{round(5.4564638, 4)} returns 5.4565") @UtilityMethod public
focal_class.parameters: (double d, int precision)
focal_class.return: double
focal_class.signature: double round(double d, int precision)
focal_class.class_method_signature: MathUtil.round(BigDecimal d, int precision)
focal_class.full_signature: @Description("Rounds <b>d</b> with specified <b>precision</b><br/>" + "<b>d</b> - BigDecimal value for rounding<br/>" + "<b>precision</b> - the number of digits after the decimal separator<br/>" + "Example:<br/>" + "#{round(5.4564638B, 4)} returns 5.4565") @UtilityMethod public BigDecimal round(BigDecimal d, int precision)
focal_class.identifier: round
focal_class.modifiers: @Description("Rounds <b>d</b> with specified <b>precision</b><br/>" + "<b>d</b> - BigDecimal value for rounding<br/>" + "<b>precision</b> - the number of digits after the decimal separator<br/>" + "Example:<br/>" + "#{round(5.4564638B, 4)} returns 5.4565") @UtilityMethod public
focal_class.parameters: (BigDecimal d, int precision)
focal_class.return: BigDecimal
focal_class.signature: BigDecimal round(BigDecimal d, int precision)
focal_class.class_method_signature: MathUtil.round(Double d, int precision, String roundingMode)
focal_class.full_signature: @Description("Rounds <b>d</b> with specified <b>precision</b><br/>" + "<b>d</b> - double value for rounding<br/>" + "<b>precision</b> - the number of digits after the decimal separator<br/>" + ROUNDING_MODES + "Example:<br/>" + "#{round(5.4564638, 4, \"HALF_UP\")} returns 5.4565") @UtilityMethod public Double round(Double d, int precision, String roundingMode)
focal_class.identifier: round
focal_class.modifiers: @Description("Rounds <b>d</b> with specified <b>precision</b><br/>" + "<b>d</b> - double value for rounding<br/>" + "<b>precision</b> - the number of digits after the decimal separator<br/>" + ROUNDING_MODES + "Example:<br/>" + "#{round(5.4564638, 4, \"HALF_UP\")} returns 5.4565") @UtilityMethod public
focal_class.parameters: (Double d, int precision, String roundingMode)
focal_class.return: Double
focal_class.signature: Double round(Double d, int precision, String roundingMode)
focal_class.class_method_signature: MathUtil.round(BigDecimal d, int precision, String roundingMode)
focal_class.full_signature: @Description("Rounds <b>d</b> with specified <b>precision</b><br/>" + "<b>d</b> - BigDecimal value for rounding<br/>" + "<b>precision</b> - the number of digits after the decimal separator<br/>" + ROUNDING_MODES + "Example:<br/>" + "#{round(5.4564638, 4, \"HALF_UP\")} returns 5.4565") @UtilityMethod public BigDecimal round(BigDecimal d, int precision, String roundingMode)
focal_class.identifier: round
focal_class.modifiers: @Description("Rounds <b>d</b> with specified <b>precision</b><br/>" + "<b>d</b> - BigDecimal value for rounding<br/>" + "<b>precision</b> - the number of digits after the decimal separator<br/>" + ROUNDING_MODES + "Example:<br/>" + "#{round(5.4564638, 4, \"HALF_UP\")} returns 5.4565") @UtilityMethod public
focal_class.parameters: (BigDecimal d, int precision, String roundingMode)
focal_class.return: BigDecimal
focal_class.signature: BigDecimal round(BigDecimal d, int precision, String roundingMode)
focal_class.class_method_signature: MathUtil.roundZero(double value, int precision, int direction)
focal_class.full_signature: @Description("Returns a <b>rounded</b> by <b>precision</b> and <b>direction</b> number<br/>" + "<b>value</b> - rounding value.<br/>" + "<b>direction = 0</b> - the value will be rounded down.<br/>" + "<b>direction = 1</b> - the value will be rounded up.<br/>" + "<b>direction = 2</b> - arithmetic rounding<br/>" + "<b>precision</b> - symbols of the value double are set to zero, starting from the position precision. Must be positive.<br/>" + "Example:<br/>" + "#{round_zero(12345,1,0)} returns 12340<br/>" + "#{round_zero(12345,1,1)} returns 12350<br/>" + "#{round_zero(12345,1,2)} returns 12350") @UtilityMethod public double roundZero(double value, int precision, int direction)
focal_class.identifier: roundZero
focal_class.modifiers: @Description("Returns a <b>rounded</b> by <b>precision</b> and <b>direction</b> number<br/>" + "<b>value</b> - rounding value.<br/>" + "<b>direction = 0</b> - the value will be rounded down.<br/>" + "<b>direction = 1</b> - the value will be rounded up.<br/>" + "<b>direction = 2</b> - arithmetic rounding<br/>" + "<b>precision</b> - symbols of the value double are set to zero, starting from the position precision. Must be positive.<br/>" + "Example:<br/>" + "#{round_zero(12345,1,0)} returns 12340<br/>" + "#{round_zero(12345,1,1)} returns 12350<br/>" + "#{round_zero(12345,1,2)} returns 12350") @UtilityMethod public
focal_class.parameters: (double value, int precision, int direction)
focal_class.return: double
focal_class.signature: double roundZero(double value, int precision, int direction)
focal_class.class_method_signature: MathUtil.roundUp(double value)
focal_class.full_signature: @Description("Rounds the double to an integer value using round away from zero mode<br/>" + "<b>value</b> - rounding value.<br/>" + "Example:<br/>" + "#{roundUp(-1.001)} returns -2") @UtilityMethod public int roundUp(double value)
focal_class.identifier: roundUp
focal_class.modifiers: @Description("Rounds the double to an integer value using round away from zero mode<br/>" + "<b>value</b> - rounding value.<br/>" + "Example:<br/>" + "#{roundUp(-1.001)} returns -2") @UtilityMethod public
focal_class.parameters: (double value)
focal_class.return: int
focal_class.signature: int roundUp(double value)
focal_class.class_method_signature: MathUtil.round(long num, int multiplier)
focal_class.full_signature: private static long round(long num, int multiplier)
focal_class.identifier: round
focal_class.modifiers: private static
focal_class.parameters: (long num, int multiplier)
focal_class.return: long
focal_class.signature: long round(long num, int multiplier)
focal_class.class_method_signature: MathUtil.roundUp(long num, int multiplier)
focal_class.full_signature: private static long roundUp(long num, int multiplier)
focal_class.identifier: roundUp
focal_class.modifiers: private static
focal_class.parameters: (long num, int multiplier)
focal_class.return: long
focal_class.signature: long roundUp(long num, int multiplier)
focal_class.class_method_signature: MathUtil.roundDown(long num, int multiplier)
focal_class.full_signature: private static long roundDown(long num, int multiplier)
focal_class.identifier: roundDown
focal_class.modifiers: private static
focal_class.parameters: (long num, int multiplier)
focal_class.return: long
focal_class.signature: long roundDown(long num, int multiplier)
focal_class.superclass: extends AbstractCaller
focal_method.body: @Description("Returns the maximum of the double values<br/>" +
              "<b>numbers</b> - double values for comparison<br/>" +
              "Example:<br/>" +
              "#{minDouble(5.0, 4.0, 3.0)} returns 5.0")
      @UtilityMethod
      public double maxDouble(double ... numbers){
          Arrays.sort(numbers);
          return numbers[numbers.length - 1];
      }
focal_method.class_method_signature: MathUtil.maxDouble(double ... numbers)
focal_method.full_signature: @Description("Returns the maximum of the double values<br/>" + "<b>numbers</b> - double values for comparison<br/>" + "Example:<br/>" + "#{minDouble(5.0, 4.0, 3.0)} returns 5.0") @UtilityMethod public double maxDouble(double ... numbers)
focal_method.identifier: maxDouble
focal_method.invocations: sort
focal_method.modifiers: @Description("Returns the maximum of the double values<br/>" + "<b>numbers</b> - double values for comparison<br/>" + "Example:<br/>" + "#{minDouble(5.0, 4.0, 3.0)} returns 5.0") @UtilityMethod public
focal_method.parameters: (double ... numbers)
focal_method.return: double
focal_method.signature: double maxDouble(double ... numbers)