test_class.declarator: convertUtil = new ConvertUtil()
test_class.original_string: ConvertUtil convertUtil = new ConvertUtil();
test_class.type: ConvertUtil
test_class.var_name: convertUtil
test_class.declarator: thrown= ExpectedException.none()
test_class.modifier: @Rule
      public
test_class.original_string: @Rule
      public ExpectedException thrown= ExpectedException.none();
test_class.type: ExpectedException
test_class.var_name: thrown
test_class.file: BackEnd/Core/sailfish-core/src/test/java/com/exactpro/sf/actions/TestConvertUtil.java
test_class.identifier: TestConvertUtil
test_case.body: @Test
      public void testToChar() {
          Assert.assertEquals(Character.valueOf('A'), convertUtil.toChar('A'));
          Assert.assertEquals(Character.valueOf('B'), convertUtil.toChar("B"));
          Assert.assertEquals(Character.valueOf('`'), convertUtil.toChar("0", true));
          Assert.assertEquals(Character.valueOf('1'), convertUtil.toChar(1, true));
  
          IBaseEnumField baseEnumField = Mockito.mock(IBaseEnumField.class);
  
          Mockito.when(baseEnumField.getObjectValue()).thenReturn('C');
          Assert.assertEquals(Character.valueOf('C'), convertUtil.toChar(baseEnumField));
  
          Mockito.when(baseEnumField.getObjectValue()).thenReturn("D");
          Assert.assertEquals(Character.valueOf('D'), convertUtil.toChar(baseEnumField));
  
          Mockito.when(baseEnumField.getObjectValue()).thenReturn(2);
          Assert.assertEquals(Character.valueOf('2'), convertUtil.toChar(baseEnumField, true));
  
          try {
              convertUtil.toChar("");
              fail("empty");
          } catch(IllegalArgumentException e1) {
              try {
                  convertUtil.toChar("GI");
                  fail("GI");
              } catch(IllegalArgumentException e2) {
                  try {
                      convertUtil.toChar(4l);
                      fail("4l");
                  } catch(IllegalArgumentException e3) {
                      try {
                          convertUtil.toChar(5.5f);
                          fail("5.5f");
                      } catch(IllegalArgumentException e4) {
                          try {
                              convertUtil.toChar(6.6d);
                              fail("6.6d");
                          } catch(IllegalArgumentException e5) {
                              try {
                                  convertUtil.toChar(7.7d);
                                  fail("7.7d");
                              } catch(IllegalArgumentException e6) {
                                  try {
                                      convertUtil.toChar(new BigDecimal(8.8d));
                                      fail("8.8d");
                                  } catch(IllegalArgumentException e7) {
  
                                  }
                              }
                          }
                      }
                  }
              }
          }
      }
test_case.class_method_signature: TestConvertUtil.testToChar()
test_case.full_signature: @Test public void testToChar()
test_case.identifier: testToChar
test_case.invocations: assertEquals valueOf toChar assertEquals valueOf toChar assertEquals valueOf toChar assertEquals valueOf toChar mock thenReturn when getObjectValue assertEquals valueOf toChar thenReturn when getObjectValue assertEquals valueOf toChar thenReturn when getObjectValue assertEquals valueOf toChar toChar fail toChar fail toChar fail toChar fail toChar fail toChar fail toChar fail
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testToChar()
focal_class.file: BackEnd/Core/sailfish-core/src/main/java/com/exactpro/sf/actions/ConvertUtil.java
focal_class.identifier: ConvertUtil
focal_class.class_method_signature: ConvertUtil.toBigDecimal(Number value)
focal_class.full_signature: @UtilityMethod @Description("Converts a Number value with zero precision to BigDecimal.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toBigDecimal(5.444)} returns 5.444") public BigDecimal toBigDecimal(Number value)
focal_class.identifier: toBigDecimal
focal_class.modifiers: @UtilityMethod @Description("Converts a Number value with zero precision to BigDecimal.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toBigDecimal(5.444)} returns 5.444") public
focal_class.parameters: (Number value)
focal_class.return: BigDecimal
focal_class.signature: BigDecimal toBigDecimal(Number value)
focal_class.class_method_signature: ConvertUtil.toBigDecimal(Number value, int presision)
focal_class.full_signature: @UtilityMethod @Description("Converts a Number value with precision to BigDecimal.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "<b>precision</b> - a number of digits.<br/>" + "Example:<br/>" + "#{toBigDecimal(5.444, 3)} returns 5.44") public BigDecimal toBigDecimal(Number value, int presision)
focal_class.identifier: toBigDecimal
focal_class.modifiers: @UtilityMethod @Description("Converts a Number value with precision to BigDecimal.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "<b>precision</b> - a number of digits.<br/>" + "Example:<br/>" + "#{toBigDecimal(5.444, 3)} returns 5.44") public
focal_class.parameters: (Number value, int presision)
focal_class.return: BigDecimal
focal_class.signature: BigDecimal toBigDecimal(Number value, int presision)
focal_class.class_method_signature: ConvertUtil.toBigDecimal(String value)
focal_class.full_signature: @UtilityMethod @Description("Converts a String value to BigDecimal.<br/>" + "<b>value</b> - a string value for converting.<br/>" + "Example:<br/>" + "#{toBigDecimal(\"5.0\")} returns 5.0") public BigDecimal toBigDecimal(String value)
focal_class.identifier: toBigDecimal
focal_class.modifiers: @UtilityMethod @Description("Converts a String value to BigDecimal.<br/>" + "<b>value</b> - a string value for converting.<br/>" + "Example:<br/>" + "#{toBigDecimal(\"5.0\")} returns 5.0") public
focal_class.parameters: (String value)
focal_class.return: BigDecimal
focal_class.signature: BigDecimal toBigDecimal(String value)
focal_class.class_method_signature: ConvertUtil.toBigDecimal(String value, int presision)
focal_class.full_signature: @UtilityMethod @Description("Converts a String value with precision to BigDecimal.<br/>" + "<b>value</b> - a string value for converting.<br/>" + "<b>precision</b> - a number of digits.<br/>" + "Example:<br/>" + "#{toBigDecimal(\"5.444\", 3)} returns 5.44") public BigDecimal toBigDecimal(String value, int presision)
focal_class.identifier: toBigDecimal
focal_class.modifiers: @UtilityMethod @Description("Converts a String value with precision to BigDecimal.<br/>" + "<b>value</b> - a string value for converting.<br/>" + "<b>precision</b> - a number of digits.<br/>" + "Example:<br/>" + "#{toBigDecimal(\"5.444\", 3)} returns 5.44") public
focal_class.parameters: (String value, int presision)
focal_class.return: BigDecimal
focal_class.signature: BigDecimal toBigDecimal(String value, int presision)
focal_class.class_method_signature: ConvertUtil.toDouble(Number value)
focal_class.full_signature: @UtilityMethod @Description("Converts a Number value to Double.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toDouble(5)} returns 5.0") public Double toDouble(Number value)
focal_class.identifier: toDouble
focal_class.modifiers: @UtilityMethod @Description("Converts a Number value to Double.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toDouble(5)} returns 5.0") public
focal_class.parameters: (Number value)
focal_class.return: Double
focal_class.signature: Double toDouble(Number value)
focal_class.class_method_signature: ConvertUtil.toDouble(String value)
focal_class.full_signature: @UtilityMethod @Description("Converts a String value to Double.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toDouble(\"5\")} returns 5.0") public Double toDouble(String value)
focal_class.identifier: toDouble
focal_class.modifiers: @UtilityMethod @Description("Converts a String value to Double.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toDouble(\"5\")} returns 5.0") public
focal_class.parameters: (String value)
focal_class.return: Double
focal_class.signature: Double toDouble(String value)
focal_class.class_method_signature: ConvertUtil.toInteger(Number value)
focal_class.full_signature: @UtilityMethod @Description("Converts a Number value to Integer.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toInteger(5.0)} returns 5") public Integer toInteger(Number value)
focal_class.identifier: toInteger
focal_class.modifiers: @UtilityMethod @Description("Converts a Number value to Integer.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toInteger(5.0)} returns 5") public
focal_class.parameters: (Number value)
focal_class.return: Integer
focal_class.signature: Integer toInteger(Number value)
focal_class.class_method_signature: ConvertUtil.toInteger(String value)
focal_class.full_signature: @UtilityMethod @Description("Converts a String value to Integer.<br/>" + "<b>value</b> - a string value for converting.<br/>" + "Example:<br/>" + "#{toInteger(\"5\")} returns 5") public Integer toInteger(String value)
focal_class.identifier: toInteger
focal_class.modifiers: @UtilityMethod @Description("Converts a String value to Integer.<br/>" + "<b>value</b> - a string value for converting.<br/>" + "Example:<br/>" + "#{toInteger(\"5\")} returns 5") public
focal_class.parameters: (String value)
focal_class.return: Integer
focal_class.signature: Integer toInteger(String value)
focal_class.class_method_signature: ConvertUtil.toByte(Number value)
focal_class.full_signature: @UtilityMethod @Description("Converts a Number value to Byte.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toByte(5)} returns 5") public Byte toByte(Number value)
focal_class.identifier: toByte
focal_class.modifiers: @UtilityMethod @Description("Converts a Number value to Byte.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toByte(5)} returns 5") public
focal_class.parameters: (Number value)
focal_class.return: Byte
focal_class.signature: Byte toByte(Number value)
focal_class.class_method_signature: ConvertUtil.toByte(String value)
focal_class.full_signature: @UtilityMethod @Description("Converts a String value to Byte.<br/>" + "<b>value</b> - a string value for converting.<br/>" + "Example:<br/>" + "#{toByte(\"5\")} returns 5") public Byte toByte(String value)
focal_class.identifier: toByte
focal_class.modifiers: @UtilityMethod @Description("Converts a String value to Byte.<br/>" + "<b>value</b> - a string value for converting.<br/>" + "Example:<br/>" + "#{toByte(\"5\")} returns 5") public
focal_class.parameters: (String value)
focal_class.return: Byte
focal_class.signature: Byte toByte(String value)
focal_class.class_method_signature: ConvertUtil.toShort(Number value)
focal_class.full_signature: @UtilityMethod @Description("Converts a Number value to Short.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toShort(5)} returns 5") public Short toShort(Number value)
focal_class.identifier: toShort
focal_class.modifiers: @UtilityMethod @Description("Converts a Number value to Short.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toShort(5)} returns 5") public
focal_class.parameters: (Number value)
focal_class.return: Short
focal_class.signature: Short toShort(Number value)
focal_class.class_method_signature: ConvertUtil.toShort(String value)
focal_class.full_signature: @UtilityMethod @Description("Converts a String value to Short.<br/>" + "<b>value</b> - a string value for converting.<br/>" + "Example:<br/>" + "#{toShort(\"5\")} returns 5") public Short toShort(String value)
focal_class.identifier: toShort
focal_class.modifiers: @UtilityMethod @Description("Converts a String value to Short.<br/>" + "<b>value</b> - a string value for converting.<br/>" + "Example:<br/>" + "#{toShort(\"5\")} returns 5") public
focal_class.parameters: (String value)
focal_class.return: Short
focal_class.signature: Short toShort(String value)
focal_class.class_method_signature: ConvertUtil.toFloat(Number value)
focal_class.full_signature: @UtilityMethod @Description("Converts a Number value to Float.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toFloat(5)} returns 5.0") public Float toFloat(Number value)
focal_class.identifier: toFloat
focal_class.modifiers: @UtilityMethod @Description("Converts a Number value to Float.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toFloat(5)} returns 5.0") public
focal_class.parameters: (Number value)
focal_class.return: Float
focal_class.signature: Float toFloat(Number value)
focal_class.class_method_signature: ConvertUtil.toFloat(String value)
focal_class.full_signature: @UtilityMethod @Description("Converts a String value to Float.<br/>" + "<b>value</b> - a string value for converting.<br/>" + "Example:<br/>" + "#{toFloat(\"5\")} returns 5.0") public Float toFloat(String value)
focal_class.identifier: toFloat
focal_class.modifiers: @UtilityMethod @Description("Converts a String value to Float.<br/>" + "<b>value</b> - a string value for converting.<br/>" + "Example:<br/>" + "#{toFloat(\"5\")} returns 5.0") public
focal_class.parameters: (String value)
focal_class.return: Float
focal_class.signature: Float toFloat(String value)
focal_class.class_method_signature: ConvertUtil.toLong(Number value)
focal_class.full_signature: @UtilityMethod @Description("Converts a Number value to Long.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toLong(5)} returns 5") public Long toLong(Number value)
focal_class.identifier: toLong
focal_class.modifiers: @UtilityMethod @Description("Converts a Number value to Long.<br/>" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toLong(5)} returns 5") public
focal_class.parameters: (Number value)
focal_class.return: Long
focal_class.signature: Long toLong(Number value)
focal_class.class_method_signature: ConvertUtil.toLong(String value)
focal_class.full_signature: @UtilityMethod @Description("Converts a String value to Long.<br/>" + "<b>value</b> - a string value for converting.<br/>" + "Example:<br/>" + "#{toLong(\"5\")} returns 5") public Long toLong(String value)
focal_class.identifier: toLong
focal_class.modifiers: @UtilityMethod @Description("Converts a String value to Long.<br/>" + "<b>value</b> - a string value for converting.<br/>" + "Example:<br/>" + "#{toLong(\"5\")} returns 5") public
focal_class.parameters: (String value)
focal_class.return: Long
focal_class.signature: Long toLong(String value)
focal_class.class_method_signature: ConvertUtil.toString(Object value)
focal_class.full_signature: @UtilityMethod @Description("Converts an Object value to String. Returns null if the value is null.<br/>" + "<b>value</b> - a string value for converting.<br/>" + "Considering the above said, the final syntax is:<br/>" + "#{toString(value)}") public String toString(Object value)
focal_class.identifier: toString
focal_class.modifiers: @UtilityMethod @Description("Converts an Object value to String. Returns null if the value is null.<br/>" + "<b>value</b> - a string value for converting.<br/>" + "Considering the above said, the final syntax is:<br/>" + "#{toString(value)}") public
focal_class.parameters: (Object value)
focal_class.return: String
focal_class.signature: String toString(Object value)
focal_class.class_method_signature: ConvertUtil.toString(Number value, String pattern)
focal_class.full_signature: @UtilityMethod @Description("Converts a Number value to String. Returns null if the value is null.<br/>" + "<b>Number Format Pattern Syntax</b>" + "<table>" + "<tr><td> 0 </td><td> A digit - always displayed, even if the number has fewer digits (then 0 is displayed) </td></tr>" + "<tr><td> # </td><td> A digit, leading zeroes are omitted. </td></tr>" + "<tr><td> 0 </td><td> Marks decimal separator </td></tr>" + "<tr><td> , </td><td> Marks a grouping separator (e.g. a thousands separator) </td></tr>" + "<tr><td> E </td><td> Marks the separation of the mantissa and the exponent for exponential formats. </td></tr>" + "<tr><td> ; </td><td> Separates formats </td></tr>" + "<tr><td> - </td><td> Marks the negative number prefix </td></tr>" + "<tr><td> % </td><td> Multiplies by 100 and shows the number as percentage </td></tr>" + "<tr><td> ? </td><td> Multiplies by 1000 and shows the number as per mille </td></tr>" + "<tr><td> ¤ </td><td> Currency sign - replaced by the currency sign for the Locale. Also makes formatting use the monetary decimal separator instead of the official decimal separator. ¤¤ makes formatting use international monetary symbols. </td></tr>" + "<tr><td> X </td><td> Marks a character to be used in the number prefix or suffix </td></tr>" + "<tr><td> ' </td><td> Marks a quote around special characters in the prefix or the suffix of the formatted number. </td></tr>" + "</table>" + "<b>value</b> - a number value for converting.<br/>" + "<b>pattern</b> - a format of the resulting string.<br/>" + "Examples: <table border=1>" + "<tr><td>Pattern</td><td>Number</td><td>Formatted String</td></tr>" + "<tr><td>###.###</td><td>123.456</td><td>123.456</td></tr>" + "<tr><td>###.#</td><td>123.456</td><td>123.5</td></tr>" + "<tr><td>###,###.##</td><td>123456.789</td><td>123,456.79</td></tr>" + "<tr><td>000.###</td><td>9.95</td><td>009.95</td></tr>" + "<tr><td>##0.###</td><td>0.95</td><td>0.95</td></tr>" + "</table>") public String toString(Number value, String pattern)
focal_class.identifier: toString
focal_class.modifiers: @UtilityMethod @Description("Converts a Number value to String. Returns null if the value is null.<br/>" + "<b>Number Format Pattern Syntax</b>" + "<table>" + "<tr><td> 0 </td><td> A digit - always displayed, even if the number has fewer digits (then 0 is displayed) </td></tr>" + "<tr><td> # </td><td> A digit, leading zeroes are omitted. </td></tr>" + "<tr><td> 0 </td><td> Marks decimal separator </td></tr>" + "<tr><td> , </td><td> Marks a grouping separator (e.g. a thousands separator) </td></tr>" + "<tr><td> E </td><td> Marks the separation of the mantissa and the exponent for exponential formats. </td></tr>" + "<tr><td> ; </td><td> Separates formats </td></tr>" + "<tr><td> - </td><td> Marks the negative number prefix </td></tr>" + "<tr><td> % </td><td> Multiplies by 100 and shows the number as percentage </td></tr>" + "<tr><td> ? </td><td> Multiplies by 1000 and shows the number as per mille </td></tr>" + "<tr><td> ¤ </td><td> Currency sign - replaced by the currency sign for the Locale. Also makes formatting use the monetary decimal separator instead of the official decimal separator. ¤¤ makes formatting use international monetary symbols. </td></tr>" + "<tr><td> X </td><td> Marks a character to be used in the number prefix or suffix </td></tr>" + "<tr><td> ' </td><td> Marks a quote around special characters in the prefix or the suffix of the formatted number. </td></tr>" + "</table>" + "<b>value</b> - a number value for converting.<br/>" + "<b>pattern</b> - a format of the resulting string.<br/>" + "Examples: <table border=1>" + "<tr><td>Pattern</td><td>Number</td><td>Formatted String</td></tr>" + "<tr><td>###.###</td><td>123.456</td><td>123.456</td></tr>" + "<tr><td>###.#</td><td>123.456</td><td>123.5</td></tr>" + "<tr><td>###,###.##</td><td>123456.789</td><td>123,456.79</td></tr>" + "<tr><td>000.###</td><td>9.95</td><td>009.95</td></tr>" + "<tr><td>##0.###</td><td>0.95</td><td>0.95</td></tr>" + "</table>") public
focal_class.parameters: (Number value, String pattern)
focal_class.return: String
focal_class.signature: String toString(Number value, String pattern)
focal_class.class_method_signature: ConvertUtil.toString(Number value, String pattern, Character decimalSeparator)
focal_class.full_signature: @UtilityMethod @Description("Converts a Number value to String. Returns null if the value is null.<br/>" + "<b>Number Format Pattern Syntax</b>" + "<table>" + "<tr><td> 0 </td><td> A digit - always displayed, even if the number has fewer digits (then 0 is displayed) </td></tr>" + "<tr><td> # </td><td> A digit, leading zeroes are omitted. </td></tr>" + "<tr><td> 0 </td><td> Marks decimal separator </td></tr>" + "<tr><td> , </td><td> Marks a grouping separator (e.g. a thousands separator) </td></tr>" + "<tr><td> E </td><td> Marks the separation of the mantissa and the exponent for exponential formats. </td></tr>" + "<tr><td> ; </td><td> Separates formats </td></tr>" + "<tr><td> - </td><td> Marks the negative number prefix </td></tr>" + "<tr><td> % </td><td> Multiplies by 100 and shows the number as percentage </td></tr>" + "<tr><td> ? </td><td> Multiplies by 1000 and shows the number as per mille </td></tr>" + "<tr><td> ¤ </td><td> Currency sign - replaced by the currency sign for the Locale. Also makes formatting use the monetary decimal separator instead of the official decimal separator. ¤¤ makes formatting use international monetary symbols. </td></tr>" + "<tr><td> X </td><td> Marks a character to be used in the number prefix or suffix </td></tr>" + "<tr><td> ' </td><td> Marks a quote around special characters in the prefix or the suffix of the formatted number. </td></tr>" + "</table>" + "<b>value</b> - a number value for converting.<br/>" + "<b>pattern</b> - a format of the resulting string.<br/>" + "<b>decimalSeparator - a character used for the decimal sign.</b>" + "Examples:" + "<table border=1>" + "<tr><td>Pattern</td><td>Number</td><td>Formatted String</td></tr>" + "<tr><td>###.###</td><td>123.456</td><td>123.456</td></tr>" + "<tr><td>###.#</td><td>123.456</td><td>123.5</td></tr>" + "<tr><td>###,###.##</td><td>123456.789</td><td>123,456.79</td></tr>" + "<tr><td>000.###</td><td>9.95</td><td>009.95</td></tr>" + "<tr><td>##0.###</td><td>0.95</td><td>0.95</td></tr>" + "</table>") public String toString(Number value, String pattern, Character decimalSeparator)
focal_class.identifier: toString
focal_class.modifiers: @UtilityMethod @Description("Converts a Number value to String. Returns null if the value is null.<br/>" + "<b>Number Format Pattern Syntax</b>" + "<table>" + "<tr><td> 0 </td><td> A digit - always displayed, even if the number has fewer digits (then 0 is displayed) </td></tr>" + "<tr><td> # </td><td> A digit, leading zeroes are omitted. </td></tr>" + "<tr><td> 0 </td><td> Marks decimal separator </td></tr>" + "<tr><td> , </td><td> Marks a grouping separator (e.g. a thousands separator) </td></tr>" + "<tr><td> E </td><td> Marks the separation of the mantissa and the exponent for exponential formats. </td></tr>" + "<tr><td> ; </td><td> Separates formats </td></tr>" + "<tr><td> - </td><td> Marks the negative number prefix </td></tr>" + "<tr><td> % </td><td> Multiplies by 100 and shows the number as percentage </td></tr>" + "<tr><td> ? </td><td> Multiplies by 1000 and shows the number as per mille </td></tr>" + "<tr><td> ¤ </td><td> Currency sign - replaced by the currency sign for the Locale. Also makes formatting use the monetary decimal separator instead of the official decimal separator. ¤¤ makes formatting use international monetary symbols. </td></tr>" + "<tr><td> X </td><td> Marks a character to be used in the number prefix or suffix </td></tr>" + "<tr><td> ' </td><td> Marks a quote around special characters in the prefix or the suffix of the formatted number. </td></tr>" + "</table>" + "<b>value</b> - a number value for converting.<br/>" + "<b>pattern</b> - a format of the resulting string.<br/>" + "<b>decimalSeparator - a character used for the decimal sign.</b>" + "Examples:" + "<table border=1>" + "<tr><td>Pattern</td><td>Number</td><td>Formatted String</td></tr>" + "<tr><td>###.###</td><td>123.456</td><td>123.456</td></tr>" + "<tr><td>###.#</td><td>123.456</td><td>123.5</td></tr>" + "<tr><td>###,###.##</td><td>123456.789</td><td>123,456.79</td></tr>" + "<tr><td>000.###</td><td>9.95</td><td>009.95</td></tr>" + "<tr><td>##0.###</td><td>0.95</td><td>0.95</td></tr>" + "</table>") public
focal_class.parameters: (Number value, String pattern, Character decimalSeparator)
focal_class.return: String
focal_class.signature: String toString(Number value, String pattern, Character decimalSeparator)
focal_class.class_method_signature: ConvertUtil.toString(Number value, String pattern, Character decimalSeparator, Character groupingSeparator)
focal_class.full_signature: @UtilityMethod @Description("Converts a Number value to String. Returns null if the value is null.<br/>" + "<b>Number Format Pattern Syntax</b>" + "<table>" + "<tr><td> 0 </td><td> A digit - always displayed, even if the number has fewer digits (then 0 is displayed) </td></tr>" + "<tr><td> # </td><td> A digit, leading zeroes are omitted. </td></tr>" + "<tr><td> 0 </td><td> Marks decimal separator </td></tr>" + "<tr><td> , </td><td> Marks a grouping separator (e.g. a thousands separator) </td></tr>" + "<tr><td> E </td><td> Marks the separation of the mantissa and the exponent for exponential formats. </td></tr>" + "<tr><td> ; </td><td> Separates formats </td></tr>" + "<tr><td> - </td><td> Marks the negative number prefix </td></tr>" + "<tr><td> % </td><td> Multiplies by 100 and shows the number as percentage </td></tr>" + "<tr><td> ? </td><td> Multiplies by 1000 and shows the number as per mille </td></tr>" + "<tr><td> ¤ </td><td> Currency sign - replaced by the currency sign for the Locale. Also makes formatting use the monetary decimal separator instead of the official decimal separator. ¤¤ makes formatting use international monetary symbols. </td></tr>" + "<tr><td> X </td><td> Marks a character to be used in the number prefix or suffix </td></tr>" + "<tr><td> ' </td><td> Marks a quote around special characters in the prefix or the suffix of the formatted number. </td></tr>" + "</table>" + "<b>value</b> - a number value for converting.<br/>" + "<b>pattern</b> - a format of the resulting string.<br/>" + "<b>decimalSeparator - a character used for the decimal sign.</b>" + "<b>groupingSeparator - a character used for the thousands separator.</b><br/>" + "Examples:" + "<table border=1>" + "<tr><td>Pattern</td><td>Number</td><td>Formatted String</td></tr>" + "<tr><td>###.###</td><td>123.456</td><td>123.456</td></tr>" + "<tr><td>###.#</td><td>123.456</td><td>123.5</td></tr>" + "<tr><td>###,###.##</td><td>123456.789</td><td>123,456.79</td></tr>" + "<tr><td>000.###</td><td>9.95</td><td>009.95</td></tr>" + "<tr><td>##0.###</td><td>0.95</td><td>0.95</td></tr>" + "</table>") public String toString(Number value, String pattern, Character decimalSeparator, Character groupingSeparator)
focal_class.identifier: toString
focal_class.modifiers: @UtilityMethod @Description("Converts a Number value to String. Returns null if the value is null.<br/>" + "<b>Number Format Pattern Syntax</b>" + "<table>" + "<tr><td> 0 </td><td> A digit - always displayed, even if the number has fewer digits (then 0 is displayed) </td></tr>" + "<tr><td> # </td><td> A digit, leading zeroes are omitted. </td></tr>" + "<tr><td> 0 </td><td> Marks decimal separator </td></tr>" + "<tr><td> , </td><td> Marks a grouping separator (e.g. a thousands separator) </td></tr>" + "<tr><td> E </td><td> Marks the separation of the mantissa and the exponent for exponential formats. </td></tr>" + "<tr><td> ; </td><td> Separates formats </td></tr>" + "<tr><td> - </td><td> Marks the negative number prefix </td></tr>" + "<tr><td> % </td><td> Multiplies by 100 and shows the number as percentage </td></tr>" + "<tr><td> ? </td><td> Multiplies by 1000 and shows the number as per mille </td></tr>" + "<tr><td> ¤ </td><td> Currency sign - replaced by the currency sign for the Locale. Also makes formatting use the monetary decimal separator instead of the official decimal separator. ¤¤ makes formatting use international monetary symbols. </td></tr>" + "<tr><td> X </td><td> Marks a character to be used in the number prefix or suffix </td></tr>" + "<tr><td> ' </td><td> Marks a quote around special characters in the prefix or the suffix of the formatted number. </td></tr>" + "</table>" + "<b>value</b> - a number value for converting.<br/>" + "<b>pattern</b> - a format of the resulting string.<br/>" + "<b>decimalSeparator - a character used for the decimal sign.</b>" + "<b>groupingSeparator - a character used for the thousands separator.</b><br/>" + "Examples:" + "<table border=1>" + "<tr><td>Pattern</td><td>Number</td><td>Formatted String</td></tr>" + "<tr><td>###.###</td><td>123.456</td><td>123.456</td></tr>" + "<tr><td>###.#</td><td>123.456</td><td>123.5</td></tr>" + "<tr><td>###,###.##</td><td>123456.789</td><td>123,456.79</td></tr>" + "<tr><td>000.###</td><td>9.95</td><td>009.95</td></tr>" + "<tr><td>##0.###</td><td>0.95</td><td>0.95</td></tr>" + "</table>") public
focal_class.parameters: (Number value, String pattern, Character decimalSeparator, Character groupingSeparator)
focal_class.return: String
focal_class.signature: String toString(Number value, String pattern, Character decimalSeparator, Character groupingSeparator)
focal_class.class_method_signature: ConvertUtil.toChar(Object value)
focal_class.full_signature: @UtilityMethod @Description("Converts the incoming parameter of a <b>String (size 1)</b>, <b>Character</b>, <b>Byte</b>, <b>Short</b>, <b>Integer</b> value type<br/>" + "or <b>FIX enum</b>, <b>Base enum</b> (using for non-FIX message) based on the same types.<br/>" + "Throws IllegalArgumentException in runtime" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toChar(\"A\")} returns 'A'") public Character toChar(Object value)
focal_class.identifier: toChar
focal_class.modifiers: @UtilityMethod @Description("Converts the incoming parameter of a <b>String (size 1)</b>, <b>Character</b>, <b>Byte</b>, <b>Short</b>, <b>Integer</b> value type<br/>" + "or <b>FIX enum</b>, <b>Base enum</b> (using for non-FIX message) based on the same types.<br/>" + "Throws IllegalArgumentException in runtime" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toChar(\"A\")} returns 'A'") public
focal_class.parameters: (Object value)
focal_class.return: Character
focal_class.signature: Character toChar(Object value)
focal_class.class_method_signature: ConvertUtil.toChar(Object value, Boolean isDigit)
focal_class.full_signature: @UtilityMethod @Description("Converts the incoming parameter of a <b>String (size 1)</b>, <b>Character</b>, <b>Byte</b>, <b>Short</b>, <b>Integer</b> value type<br/>" + "or <b>FIX enum</b>, <b>Base enum</b> (using for non-FIX message) based on the same types.<br/>" + "<b>isDigit<b> - adds 48 / '0' code.<br/>" + "Example:<br/>" + "\"#{toChar(1, true)} returns '1'<br/>" + "Throws IllegalArgumentException in runtime.") public Character toChar(Object value, Boolean isDigit)
focal_class.identifier: toChar
focal_class.modifiers: @UtilityMethod @Description("Converts the incoming parameter of a <b>String (size 1)</b>, <b>Character</b>, <b>Byte</b>, <b>Short</b>, <b>Integer</b> value type<br/>" + "or <b>FIX enum</b>, <b>Base enum</b> (using for non-FIX message) based on the same types.<br/>" + "<b>isDigit<b> - adds 48 / '0' code.<br/>" + "Example:<br/>" + "\"#{toChar(1, true)} returns '1'<br/>" + "Throws IllegalArgumentException in runtime.") public
focal_class.parameters: (Object value, Boolean isDigit)
focal_class.return: Character
focal_class.signature: Character toChar(Object value, Boolean isDigit)
focal_class.class_method_signature: ConvertUtil.toCodePoint(Object value)
focal_class.full_signature: @UtilityMethod @Description("Converts a <b>String (size 1)</b>, <b>Character</b>, <b>Byte</b>, <b>Short</b>, <b>Integer</b> types with single char in the value<br/>" + "to code point at the given char.<br/>" + "<b>value</b> - a value for converting.<br/>" + "Example:<br/>" + "#{toCodePoint('A')} returns 65.<br/>" + "Throws IllegalArgumentException in runtime.") public Integer toCodePoint(Object value)
focal_class.identifier: toCodePoint
focal_class.modifiers: @UtilityMethod @Description("Converts a <b>String (size 1)</b>, <b>Character</b>, <b>Byte</b>, <b>Short</b>, <b>Integer</b> types with single char in the value<br/>" + "to code point at the given char.<br/>" + "<b>value</b> - a value for converting.<br/>" + "Example:<br/>" + "#{toCodePoint('A')} returns 65.<br/>" + "Throws IllegalArgumentException in runtime.") public
focal_class.parameters: (Object value)
focal_class.return: Integer
focal_class.signature: Integer toCodePoint(Object value)
focal_class.class_method_signature: ConvertUtil.toMap(Object... values)
focal_class.full_signature: @UtilityMethod @Description("Converts an array of objects to map.<br/>" + "<b>values</b> - a values for converting(must be even).<br/>" + "Example:<br/>" + "#{toMap(\"Text\", \"example!\")} returns {Test=example}") public Map<Object, Object> toMap(Object... values)
focal_class.identifier: toMap
focal_class.modifiers: @UtilityMethod @Description("Converts an array of objects to map.<br/>" + "<b>values</b> - a values for converting(must be even).<br/>" + "Example:<br/>" + "#{toMap(\"Text\", \"example!\")} returns {Test=example}") public
focal_class.parameters: (Object... values)
focal_class.return: Map<Object, Object>
focal_class.signature: Map<Object, Object> toMap(Object... values)
focal_class.class_method_signature: ConvertUtil.toList(Object... values)
focal_class.full_signature: @UtilityMethod @Description("Converts an array of objects to list.<br/>" + "<b>values</b> - a values for converting(must be even).<br/>" + "Example:<br/>" + "#{toList(\"Text\", \"example!\")} returns [Test, example]") public List<Object> toList(Object... values)
focal_class.identifier: toList
focal_class.modifiers: @UtilityMethod @Description("Converts an array of objects to list.<br/>" + "<b>values</b> - a values for converting(must be even).<br/>" + "Example:<br/>" + "#{toList(\"Text\", \"example!\")} returns [Test, example]") public
focal_class.parameters: (Object... values)
focal_class.return: List<Object>
focal_class.signature: List<Object> toList(Object... values)
focal_class.class_method_signature: ConvertUtil.extractValue(Object value)
focal_class.full_signature: protected Object extractValue(Object value)
focal_class.identifier: extractValue
focal_class.modifiers: protected
focal_class.parameters: (Object value)
focal_class.return: Object
focal_class.signature: Object extractValue(Object value)
focal_class.class_method_signature: ConvertUtil.toRegex(Object value)
focal_class.full_signature: @UtilityMethod @Description("Creates regex to match the string representation of the provided object.<br/>" + "<b>value</b> - a value for converting.<br/>" + "Example:<br/>" + "#{toRegex(\"Text example!\")} returns \\QText example!\\E") public String toRegex(Object value)
focal_class.identifier: toRegex
focal_class.modifiers: @UtilityMethod @Description("Creates regex to match the string representation of the provided object.<br/>" + "<b>value</b> - a value for converting.<br/>" + "Example:<br/>" + "#{toRegex(\"Text example!\")} returns \\QText example!\\E") public
focal_class.parameters: (Object value)
focal_class.return: String
focal_class.signature: String toRegex(Object value)
focal_class.class_method_signature: ConvertUtil.hexToDec(String value)
focal_class.full_signature: @UtilityMethod @Description("Converts a String HEX value to Long DEC.<br/>" + "<b>value</b> - a value for converting.<br/>" + "Example:<br/>" + "#{hexToDec(\"6204C80100000B99\")} returns 7062990022244305817L") public Long hexToDec(String value)
focal_class.identifier: hexToDec
focal_class.modifiers: @UtilityMethod @Description("Converts a String HEX value to Long DEC.<br/>" + "<b>value</b> - a value for converting.<br/>" + "Example:<br/>" + "#{hexToDec(\"6204C80100000B99\")} returns 7062990022244305817L") public
focal_class.parameters: (String value)
focal_class.return: Long
focal_class.signature: Long hexToDec(String value)
focal_class.class_method_signature: ConvertUtil.decToHex(Number value)
focal_class.full_signature: @UtilityMethod @Description("Converts a Long DEC value to String HEX.<br/>" + "<b>value</b> - a value for converting.<br/>" + "Example:<br/>" + "#{decToHex(\"7062990022244305817L\")} returns 6204C80100000B99") public String decToHex(Number value)
focal_class.identifier: decToHex
focal_class.modifiers: @UtilityMethod @Description("Converts a Long DEC value to String HEX.<br/>" + "<b>value</b> - a value for converting.<br/>" + "Example:<br/>" + "#{decToHex(\"7062990022244305817L\")} returns 6204C80100000B99") public
focal_class.parameters: (Number value)
focal_class.return: String
focal_class.signature: String decToHex(Number value)
focal_class.superclass: extends AbstractCaller
focal_method.body: @UtilityMethod
      @Description("Converts the incoming parameter of a <b>String (size 1)</b>, <b>Character</b>, <b>Byte</b>, <b>Short</b>, <b>Integer</b> value type<br/>"
              + "or <b>FIX enum</b>, <b>Base enum</b> (using for non-FIX message) based on the same types.<br/>"
              + "Throws IllegalArgumentException in runtime"
              + "<b>value</b> - a number value for converting.<br/>"
              + "Example:<br/>"
              + "#{toChar(\"A\")} returns 'A'")
      public Character toChar(Object value) {
          return toChar(value, Boolean.FALSE);
      }
focal_method.class_method_signature: ConvertUtil.toChar(Object value)
focal_method.full_signature: @UtilityMethod @Description("Converts the incoming parameter of a <b>String (size 1)</b>, <b>Character</b>, <b>Byte</b>, <b>Short</b>, <b>Integer</b> value type<br/>" + "or <b>FIX enum</b>, <b>Base enum</b> (using for non-FIX message) based on the same types.<br/>" + "Throws IllegalArgumentException in runtime" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toChar(\"A\")} returns 'A'") public Character toChar(Object value)
focal_method.identifier: toChar
focal_method.invocations: toChar
focal_method.modifiers: @UtilityMethod @Description("Converts the incoming parameter of a <b>String (size 1)</b>, <b>Character</b>, <b>Byte</b>, <b>Short</b>, <b>Integer</b> value type<br/>" + "or <b>FIX enum</b>, <b>Base enum</b> (using for non-FIX message) based on the same types.<br/>" + "Throws IllegalArgumentException in runtime" + "<b>value</b> - a number value for converting.<br/>" + "Example:<br/>" + "#{toChar(\"A\")} returns 'A'") public
focal_method.parameters: (Object value)
focal_method.return: Character
focal_method.signature: Character toChar(Object value)