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 testArrayToString() {
  		double[] array = {1.0};
  		String controlString = StringUtils.arrayToString(array );
  		assertEquals("[1.0]", controlString);
  	}
test_case.class_method_signature: StringUtilsTest.testArrayToString()
test_case.full_signature: @Test public void testArrayToString()
test_case.identifier: testArrayToString
test_case.invocations: arrayToString assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testArrayToString()
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 arrayToString(Object array) {
  		if (array == null) {
  			throw new NullPointerException();
  		}
  		
  		if (array instanceof int[]) {
  			return Arrays.toString((int[]) array);
  		}
  		if (array instanceof long[]) {
  			return Arrays.toString((long[]) array);
  		}
  		if (array instanceof Object[]) {
  			return Arrays.toString((Object[]) array);
  		}
  		if (array instanceof byte[]) {
  			return Arrays.toString((byte[]) array);
  		}
  		if (array instanceof double[]) {
  			return Arrays.toString((double[]) array);
  		}
  		if (array instanceof float[]) {
  			return Arrays.toString((float[]) array);
  		}
  		if (array instanceof boolean[]) {
  			return Arrays.toString((boolean[]) array);
  		}
  		if (array instanceof char[]) {
  			return Arrays.toString((char[]) array);
  		}
  		if (array instanceof short[]) {
  			return Arrays.toString((short[]) array);
  		}
  		
  		if (array.getClass().isArray()) {
  			return "<unknown array type>";
  		} else {
  			throw new IllegalArgumentException("The given argument is no array.");
  		}
  	}
focal_method.class_method_signature: StringUtils.arrayToString(Object array)
focal_method.full_signature: public static String arrayToString(Object array)
focal_method.identifier: arrayToString
focal_method.invocations: toString toString toString toString toString toString toString toString toString isArray getClass
focal_method.modifiers: public static
focal_method.parameters: (Object array)
focal_method.return: String
focal_method.signature: String arrayToString(Object array)