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 testHexArrayToString() {
  		byte[] byteArray = new byte[]{1, -97, 49, 74 };
  		String hex = StringUtils.byteToHexString(byteArray);
  		assertEquals("019f314a", hex);
  	}
test_case.class_method_signature: StringUtilsTest.testHexArrayToString()
test_case.full_signature: @Test public void testHexArrayToString()
test_case.identifier: testHexArrayToString
test_case.invocations: byteToHexString assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testHexArrayToString()
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 String byteToHexString(final byte[] bytes, final int start, final int end) {
  		if (bytes == null) {
  			throw new IllegalArgumentException("bytes == null");
  		}
  		
  		final char[] HEX_CHARS = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' };
  
  		int length = end - start;
  		char[] out = new char[length * 2];
  
  		for (int i = start, j = 0; i < end; i++) {
  			out[j++] = HEX_CHARS[(0xF0 & bytes[i]) >>> 4];
  			out[j++] = HEX_CHARS[0x0F & bytes[i]];
  		}
  
  		return new String(out);
  	}
focal_method.class_method_signature: StringUtils.byteToHexString(final byte[] bytes, final int start, final int end)
focal_method.full_signature: public static String byteToHexString(final byte[] bytes, final int start, final int end)
focal_method.identifier: byteToHexString
focal_method.modifiers: public static
focal_method.parameters: (final byte[] bytes, final int start, final int end)
focal_method.return: String
focal_method.signature: String byteToHexString(final byte[] bytes, final int start, final int end)