test_class.file: flink-core/src/test/java/org/apache/flink/util/StringUtilsTest.java
test_class.identifier: StringUtilsTest
test_class.superclass: extends TestLogger
test_case.body: @Test
  	public void testStringToHexArray() {
  		String hex = "019f314a";
  		byte[] hexArray = StringUtils.hexStringToByte(hex);
  		byte[] expectedArray = new byte[]{1, -97, 49, 74 };
  		assertArrayEquals(expectedArray, hexArray);
  	}
test_case.class_method_signature: StringUtilsTest.testStringToHexArray()
test_case.full_signature: @Test public void testStringToHexArray()
test_case.identifier: testStringToHexArray
test_case.invocations: hexStringToByte assertArrayEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testStringToHexArray()
focal_class.file: flink-core/src/main/java/org/apache/flink/util/StringUtils.java
focal_class.identifier: StringUtils
focal_class.class_method_signature: StringUtils.StringUtils()
focal_class.full_signature: private  StringUtils()
focal_class.identifier: StringUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  StringUtils()
focal_class.class_method_signature: StringUtils.stringifyException(final Throwable e)
focal_class.full_signature: public static String stringifyException(final Throwable e)
focal_class.identifier: stringifyException
focal_class.modifiers: public static
focal_class.parameters: (final Throwable e)
focal_class.return: String
focal_class.signature: String stringifyException(final Throwable e)
focal_class.class_method_signature: StringUtils.byteToHexString(final byte[] bytes, final int start, final int end)
focal_class.full_signature: public static String byteToHexString(final byte[] bytes, final int start, final int end)
focal_class.identifier: byteToHexString
focal_class.modifiers: public static
focal_class.parameters: (final byte[] bytes, final int start, final int end)
focal_class.return: String
focal_class.signature: String byteToHexString(final byte[] bytes, final int start, final int end)
focal_class.class_method_signature: StringUtils.byteToHexString(final byte[] bytes)
focal_class.full_signature: public static String byteToHexString(final byte[] bytes)
focal_class.identifier: byteToHexString
focal_class.modifiers: public static
focal_class.parameters: (final byte[] bytes)
focal_class.return: String
focal_class.signature: String byteToHexString(final byte[] bytes)
focal_class.class_method_signature: StringUtils.hexStringToByte(final String hex)
focal_class.full_signature: public static byte[] hexStringToByte(final String hex)
focal_class.identifier: hexStringToByte
focal_class.modifiers: public static
focal_class.parameters: (final String hex)
focal_class.return: byte[]
focal_class.signature: byte[] hexStringToByte(final String hex)
focal_class.class_method_signature: StringUtils.escapeHtml(String str)
focal_class.full_signature: public static String escapeHtml(String str)
focal_class.identifier: escapeHtml
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: String
focal_class.signature: String escapeHtml(String str)
focal_class.class_method_signature: StringUtils.arrayAwareToString(Object o)
focal_class.full_signature: public static String arrayAwareToString(Object o)
focal_class.identifier: arrayAwareToString
focal_class.modifiers: public static
focal_class.parameters: (Object o)
focal_class.return: String
focal_class.signature: String arrayAwareToString(Object o)
focal_class.class_method_signature: StringUtils.arrayToString(Object array)
focal_class.full_signature: public static String arrayToString(Object array)
focal_class.identifier: arrayToString
focal_class.modifiers: public static
focal_class.parameters: (Object array)
focal_class.return: String
focal_class.signature: String arrayToString(Object array)
focal_class.class_method_signature: StringUtils.showControlCharacters(String str)
focal_class.full_signature: public static String showControlCharacters(String str)
focal_class.identifier: showControlCharacters
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: String
focal_class.signature: String showControlCharacters(String str)
focal_class.class_method_signature: StringUtils.getRandomString(Random rnd, int minLength, int maxLength)
focal_class.full_signature: public static String getRandomString(Random rnd, int minLength, int maxLength)
focal_class.identifier: getRandomString
focal_class.modifiers: public static
focal_class.parameters: (Random rnd, int minLength, int maxLength)
focal_class.return: String
focal_class.signature: String getRandomString(Random rnd, int minLength, int maxLength)
focal_class.class_method_signature: StringUtils.getRandomString(Random rnd, int minLength, int maxLength, char minValue, char maxValue)
focal_class.full_signature: public static String getRandomString(Random rnd, int minLength, int maxLength, char minValue, char maxValue)
focal_class.identifier: getRandomString
focal_class.modifiers: public static
focal_class.parameters: (Random rnd, int minLength, int maxLength, char minValue, char maxValue)
focal_class.return: String
focal_class.signature: String getRandomString(Random rnd, int minLength, int maxLength, char minValue, char maxValue)
focal_class.class_method_signature: StringUtils.writeNullableString(String str, DataOutputView out)
focal_class.full_signature: public static void writeNullableString(String str, DataOutputView out)
focal_class.identifier: writeNullableString
focal_class.modifiers: public static
focal_class.parameters: (String str, DataOutputView out)
focal_class.return: void
focal_class.signature: void writeNullableString(String str, DataOutputView out)
focal_class.class_method_signature: StringUtils.readNullableString(DataInputView in)
focal_class.full_signature: public static String readNullableString(DataInputView in)
focal_class.identifier: readNullableString
focal_class.modifiers: public static
focal_class.parameters: (DataInputView in)
focal_class.return: String
focal_class.signature: String readNullableString(DataInputView in)
focal_method.body: public static byte[] hexStringToByte(final String hex) {
  		final byte[] bts = new byte[hex.length() / 2];
  		for (int i = 0; i < bts.length; i++) {
  			bts[i] = (byte) Integer.parseInt(hex.substring(2 * i, 2 * i + 2), 16);
  		}
  		return bts;
  	}
focal_method.class_method_signature: StringUtils.hexStringToByte(final String hex)
focal_method.full_signature: public static byte[] hexStringToByte(final String hex)
focal_method.identifier: hexStringToByte
focal_method.invocations: length parseInt substring
focal_method.modifiers: public static
focal_method.parameters: (final String hex)
focal_method.return: byte[]
focal_method.signature: byte[] hexStringToByte(final String hex)