test_class.file: shared/src/test/java/org/eclipse/steady/shared/util/StringUtilTest.java
test_class.identifier: StringUtilTest
test_case.body: @Test
    public void testPadLeft() {
      assertEquals("  1", StringUtil.padLeft(1, 3)); // Padding of a shorter string representation
      assertEquals(
          "11111",
          StringUtil.padLeft(11111, 3)); // Padding of a longer string representation must not cut
    }
test_case.class_method_signature: StringUtilTest.testPadLeft()
test_case.full_signature: @Test public void testPadLeft()
test_case.identifier: testPadLeft
test_case.invocations: assertEquals padLeft assertEquals padLeft
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPadLeft()
focal_class.declarator: KILOBYTE = 1024L
focal_class.modifier: public static final
focal_class.original_string: public static final long KILOBYTE = 1024L;
focal_class.type: long
focal_class.var_name: KILOBYTE
focal_class.declarator: MEGABYTE = 1024L * 1024L
focal_class.modifier: public static final
focal_class.original_string: public static final long MEGABYTE = 1024L * 1024L;
focal_class.type: long
focal_class.var_name: MEGABYTE
focal_class.declarator: MILLI_IN_MIN = 60L * 1000L
focal_class.modifier: public static final
focal_class.original_string: public static final long MILLI_IN_MIN = 60L * 1000L;
focal_class.type: long
focal_class.var_name: MILLI_IN_MIN
focal_class.declarator: NANOS_IN_MIN = 60L * 1000L * 1000L * 1000L
focal_class.modifier: public static final
focal_class.original_string: public static final long NANOS_IN_MIN = 60L * 1000L * 1000L * 1000L;
focal_class.type: long
focal_class.var_name: NANOS_IN_MIN
focal_class.declarator: FORMAT_STRING = "yyyy-MM-dd'T'HH:mm:ss.SSSZ"
focal_class.modifier: private static final
focal_class.original_string: private static final String FORMAT_STRING = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
focal_class.type: String
focal_class.var_name: FORMAT_STRING
focal_class.declarator: FORMAT = new SimpleDateFormat(FORMAT_STRING)
focal_class.modifier: private static final
focal_class.original_string: private static final SimpleDateFormat FORMAT = new SimpleDateFormat(FORMAT_STRING);
focal_class.type: SimpleDateFormat
focal_class.var_name: FORMAT
focal_class.file: shared/src/main/java/org/eclipse/steady/shared/util/StringUtil.java
focal_class.identifier: StringUtil
focal_class.class_method_signature: StringUtil.formatMinString(double _d)
focal_class.full_signature: public static final String formatMinString(double _d)
focal_class.identifier: formatMinString
focal_class.modifiers: public static final
focal_class.parameters: (double _d)
focal_class.return: String
focal_class.signature: String formatMinString(double _d)
focal_class.class_method_signature: StringUtil.formatMinString(long _n)
focal_class.full_signature: public static final String formatMinString(long _n)
focal_class.identifier: formatMinString
focal_class.modifiers: public static final
focal_class.parameters: (long _n)
focal_class.return: String
focal_class.signature: String formatMinString(long _n)
focal_class.class_method_signature: StringUtil.formatMBString(double _d)
focal_class.full_signature: public static final String formatMBString(double _d)
focal_class.identifier: formatMBString
focal_class.modifiers: public static final
focal_class.parameters: (double _d)
focal_class.return: String
focal_class.signature: String formatMBString(double _d)
focal_class.class_method_signature: StringUtil.formatKBString(double _d)
focal_class.full_signature: public static final String formatKBString(double _d)
focal_class.identifier: formatKBString
focal_class.modifiers: public static final
focal_class.parameters: (double _d)
focal_class.return: String
focal_class.signature: String formatKBString(double _d)
focal_class.class_method_signature: StringUtil.byteToMBString(double _bytes)
focal_class.full_signature: public static final String byteToMBString(double _bytes)
focal_class.identifier: byteToMBString
focal_class.modifiers: public static final
focal_class.parameters: (double _bytes)
focal_class.return: String
focal_class.signature: String byteToMBString(double _bytes)
focal_class.class_method_signature: StringUtil.byteToKBString(long _bytes)
focal_class.full_signature: public static final String byteToKBString(long _bytes)
focal_class.identifier: byteToKBString
focal_class.modifiers: public static final
focal_class.parameters: (long _bytes)
focal_class.return: String
focal_class.signature: String byteToKBString(long _bytes)
focal_class.class_method_signature: StringUtil.byteToMBString(long _bytes)
focal_class.full_signature: public static final String byteToMBString(long _bytes)
focal_class.identifier: byteToMBString
focal_class.modifiers: public static final
focal_class.parameters: (long _bytes)
focal_class.return: String
focal_class.signature: String byteToMBString(long _bytes)
focal_class.class_method_signature: StringUtil.formatDate(long _ms)
focal_class.full_signature: public static final synchronized String formatDate(long _ms)
focal_class.identifier: formatDate
focal_class.modifiers: public static final synchronized
focal_class.parameters: (long _ms)
focal_class.return: String
focal_class.signature: String formatDate(long _ms)
focal_class.class_method_signature: StringUtil.nanoToMinString(long _nano)
focal_class.full_signature: @Deprecated public static final String nanoToMinString(long _nano)
focal_class.identifier: nanoToMinString
focal_class.modifiers: @Deprecated public static final
focal_class.parameters: (long _nano)
focal_class.return: String
focal_class.signature: String nanoToMinString(long _nano)
focal_class.class_method_signature: StringUtil.nanoToFlexDurationString(long _nano)
focal_class.full_signature: public static final String nanoToFlexDurationString(long _nano)
focal_class.identifier: nanoToFlexDurationString
focal_class.modifiers: public static final
focal_class.parameters: (long _nano)
focal_class.return: String
focal_class.signature: String nanoToFlexDurationString(long _nano)
focal_class.class_method_signature: StringUtil.msToMinString(long _ms)
focal_class.full_signature: public static final String msToMinString(long _ms)
focal_class.identifier: msToMinString
focal_class.modifiers: public static final
focal_class.parameters: (long _ms)
focal_class.return: String
focal_class.signature: String msToMinString(long _ms)
focal_class.class_method_signature: StringUtil.join(Object[] _objs, String _sep)
focal_class.full_signature: public static String join(Object[] _objs, String _sep)
focal_class.identifier: join
focal_class.modifiers: public static
focal_class.parameters: (Object[] _objs, String _sep)
focal_class.return: String
focal_class.signature: String join(Object[] _objs, String _sep)
focal_class.class_method_signature: StringUtil.join(String[] _strings, String _sep)
focal_class.full_signature: public static String join(String[] _strings, String _sep)
focal_class.identifier: join
focal_class.modifiers: public static
focal_class.parameters: (String[] _strings, String _sep)
focal_class.return: String
focal_class.signature: String join(String[] _strings, String _sep)
focal_class.class_method_signature: StringUtil.join(Collection<?> _objs, String _sep)
focal_class.full_signature: public static String join(Collection<?> _objs, String _sep)
focal_class.identifier: join
focal_class.modifiers: public static
focal_class.parameters: (Collection<?> _objs, String _sep)
focal_class.return: String
focal_class.signature: String join(Collection<?> _objs, String _sep)
focal_class.class_method_signature: StringUtil.padLeft(String _value, int _length)
focal_class.full_signature: public static String padLeft(String _value, int _length)
focal_class.identifier: padLeft
focal_class.modifiers: public static
focal_class.parameters: (String _value, int _length)
focal_class.return: String
focal_class.signature: String padLeft(String _value, int _length)
focal_class.class_method_signature: StringUtil.padLeft(long _value, int _length)
focal_class.full_signature: public static String padLeft(long _value, int _length)
focal_class.identifier: padLeft
focal_class.modifiers: public static
focal_class.parameters: (long _value, int _length)
focal_class.return: String
focal_class.signature: String padLeft(long _value, int _length)
focal_class.class_method_signature: StringUtil.padLeft(int _value, int _length)
focal_class.full_signature: public static String padLeft(int _value, int _length)
focal_class.identifier: padLeft
focal_class.modifiers: public static
focal_class.parameters: (int _value, int _length)
focal_class.return: String
focal_class.signature: String padLeft(int _value, int _length)
focal_class.class_method_signature: StringUtil.padLeft(boolean _value, int _length)
focal_class.full_signature: public static String padLeft(boolean _value, int _length)
focal_class.identifier: padLeft
focal_class.modifiers: public static
focal_class.parameters: (boolean _value, int _length)
focal_class.return: String
focal_class.signature: String padLeft(boolean _value, int _length)
focal_class.class_method_signature: StringUtil.padLeft(double _value, int _length)
focal_class.full_signature: public static String padLeft(double _value, int _length)
focal_class.identifier: padLeft
focal_class.modifiers: public static
focal_class.parameters: (double _value, int _length)
focal_class.return: String
focal_class.signature: String padLeft(double _value, int _length)
focal_class.class_method_signature: StringUtil.meetsLengthConstraint(String _string, int _length)
focal_class.full_signature: public static boolean meetsLengthConstraint(String _string, int _length)
focal_class.identifier: meetsLengthConstraint
focal_class.modifiers: public static
focal_class.parameters: (String _string, int _length)
focal_class.return: boolean
focal_class.signature: boolean meetsLengthConstraint(String _string, int _length)
focal_class.class_method_signature: StringUtil.getRandonString(int _length)
focal_class.full_signature: public static final String getRandonString(int _length)
focal_class.identifier: getRandonString
focal_class.modifiers: public static final
focal_class.parameters: (int _length)
focal_class.return: String
focal_class.signature: String getRandonString(int _length)
focal_class.class_method_signature: StringUtil.toArray(@NotNull String _string)
focal_class.full_signature: public static String[] toArray(@NotNull String _string)
focal_class.identifier: toArray
focal_class.modifiers: public static
focal_class.parameters: (@NotNull String _string)
focal_class.return: String[]
focal_class.signature: String[] toArray(@NotNull String _string)
focal_class.class_method_signature: StringUtil.isEmptyOrContainsEmptyString(String[] _array)
focal_class.full_signature: public static boolean isEmptyOrContainsEmptyString(String[] _array)
focal_class.identifier: isEmptyOrContainsEmptyString
focal_class.modifiers: public static
focal_class.parameters: (String[] _array)
focal_class.return: boolean
focal_class.signature: boolean isEmptyOrContainsEmptyString(String[] _array)
focal_class.class_method_signature: StringUtil.matchesPattern(String _string, Pattern[] _patterns)
focal_class.full_signature: public static boolean matchesPattern(String _string, Pattern[] _patterns)
focal_class.identifier: matchesPattern
focal_class.modifiers: public static
focal_class.parameters: (String _string, Pattern[] _patterns)
focal_class.return: boolean
focal_class.signature: boolean matchesPattern(String _string, Pattern[] _patterns)
focal_method.body: public static String padLeft(String _value, int _length) {
      return String.format("%1$" + _length + "s", _value);
    }
focal_method.class_method_signature: StringUtil.padLeft(String _value, int _length)
focal_method.full_signature: public static String padLeft(String _value, int _length)
focal_method.identifier: padLeft
focal_method.invocations: format
focal_method.modifiers: public static
focal_method.parameters: (String _value, int _length)
focal_method.return: String
focal_method.signature: String padLeft(String _value, int _length)