test_class.file: dubbo-common/src/test/java/org/apache/dubbo/common/utils/StringUtilsTest.java
test_class.identifier: StringUtilsTest
test_case.body: @Test
      public void testRepeat() throws Exception {
          assertThat(StringUtils.repeat(null, 2), nullValue());
          assertThat(StringUtils.repeat("", 0), equalTo(""));
          assertThat(StringUtils.repeat("", 2), equalTo(""));
          assertThat(StringUtils.repeat("a", 3), equalTo("aaa"));
          assertThat(StringUtils.repeat("ab", 2), equalTo("abab"));
          assertThat(StringUtils.repeat("a", -2), equalTo(""));
          assertThat(StringUtils.repeat(null, null, 2), nullValue());
          assertThat(StringUtils.repeat(null, "x", 2), nullValue());
          assertThat(StringUtils.repeat("", null, 0), equalTo(""));
          assertThat(StringUtils.repeat("", "", 2), equalTo(""));
          assertThat(StringUtils.repeat("", "x", 3), equalTo("xx"));
          assertThat(StringUtils.repeat("?", ", ", 3), equalTo("?, ?, ?"));
          assertThat(StringUtils.repeat('e', 0), equalTo(""));
          assertThat(StringUtils.repeat('e', 3), equalTo("eee"));
      }
test_case.class_method_signature: StringUtilsTest.testRepeat()
test_case.full_signature: @Test public void testRepeat()
test_case.identifier: testRepeat
test_case.invocations: assertThat repeat nullValue assertThat repeat equalTo assertThat repeat equalTo assertThat repeat equalTo assertThat repeat equalTo assertThat repeat equalTo assertThat repeat nullValue assertThat repeat nullValue assertThat repeat equalTo assertThat repeat equalTo assertThat repeat equalTo assertThat repeat equalTo assertThat repeat equalTo assertThat repeat equalTo
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testRepeat()
focal_class.declarator: EMPTY_STRING = ""
focal_class.modifier: public static final
focal_class.original_string: public static final String EMPTY_STRING = "";
focal_class.type: String
focal_class.var_name: EMPTY_STRING
focal_class.declarator: INDEX_NOT_FOUND = -1
focal_class.modifier: public static final
focal_class.original_string: public static final int INDEX_NOT_FOUND = -1;
focal_class.type: int
focal_class.var_name: INDEX_NOT_FOUND
focal_class.declarator: EMPTY_STRING_ARRAY = new String[0]
focal_class.modifier: public static final
focal_class.original_string: public static final String[] EMPTY_STRING_ARRAY = new String[0];
focal_class.type: String[]
focal_class.var_name: EMPTY_STRING_ARRAY
focal_class.declarator: logger = LoggerFactory.getLogger(StringUtils.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(StringUtils.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: KVP_PATTERN = Pattern.compile("([_.a-zA-Z0-9][-_.a-zA-Z0-9]*)[=](.*)")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern KVP_PATTERN = Pattern.compile("([_.a-zA-Z0-9][-_.a-zA-Z0-9]*)[=](.*)");
focal_class.type: Pattern
focal_class.var_name: KVP_PATTERN
focal_class.declarator: INT_PATTERN = Pattern.compile("^\\d+$")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern INT_PATTERN = Pattern.compile("^\\d+$");
focal_class.type: Pattern
focal_class.var_name: INT_PATTERN
focal_class.declarator: PARAMETERS_PATTERN = Pattern.compile("^\\[((\\s*\\{\\s*[\\w_\\-\\.]+\\s*:\\s*.+?\\s*\\}\\s*,?\\s*)+)\\s*\\]$")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern PARAMETERS_PATTERN = Pattern.compile("^\\[((\\s*\\{\\s*[\\w_\\-\\.]+\\s*:\\s*.+?\\s*\\}\\s*,?\\s*)+)\\s*\\]$");
focal_class.type: Pattern
focal_class.var_name: PARAMETERS_PATTERN
focal_class.declarator: PAIR_PARAMETERS_PATTERN = Pattern.compile("^\\{\\s*([\\w-_\\.]+)\\s*:\\s*(.+)\\s*\\}$")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern PAIR_PARAMETERS_PATTERN = Pattern.compile("^\\{\\s*([\\w-_\\.]+)\\s*:\\s*(.+)\\s*\\}$");
focal_class.type: Pattern
focal_class.var_name: PAIR_PARAMETERS_PATTERN
focal_class.declarator: PAD_LIMIT = 8192
focal_class.modifier: private static final
focal_class.original_string: private static final int PAD_LIMIT = 8192;
focal_class.type: int
focal_class.var_name: PAD_LIMIT
focal_class.declarator: HEX2B
focal_class.modifier: private static final
focal_class.original_string: private static final byte[] HEX2B;
focal_class.type: byte[]
focal_class.var_name: HEX2B
focal_class.declarator: EQUAL_CHAR = '='
focal_class.modifier: public static final
focal_class.original_string: public static final char EQUAL_CHAR = '=';
focal_class.type: char
focal_class.var_name: EQUAL_CHAR
focal_class.declarator: EQUAL = valueOf(EQUAL_CHAR)
focal_class.modifier: public static final
focal_class.original_string: public static final String EQUAL = valueOf(EQUAL_CHAR);
focal_class.type: String
focal_class.var_name: EQUAL
focal_class.declarator: AND_CHAR = '&'
focal_class.modifier: public static final
focal_class.original_string: public static final char AND_CHAR = '&';
focal_class.type: char
focal_class.var_name: AND_CHAR
focal_class.declarator: AND = valueOf(AND_CHAR)
focal_class.modifier: public static final
focal_class.original_string: public static final String AND = valueOf(AND_CHAR);
focal_class.type: String
focal_class.var_name: AND
focal_class.declarator: SEMICOLON_CHAR = ';'
focal_class.modifier: public static final
focal_class.original_string: public static final char SEMICOLON_CHAR = ';';
focal_class.type: char
focal_class.var_name: SEMICOLON_CHAR
focal_class.declarator: SEMICOLON = valueOf(SEMICOLON_CHAR)
focal_class.modifier: public static final
focal_class.original_string: public static final String SEMICOLON = valueOf(SEMICOLON_CHAR);
focal_class.type: String
focal_class.var_name: SEMICOLON
focal_class.declarator: QUESTION_MASK_CHAR = '?'
focal_class.modifier: public static final
focal_class.original_string: public static final char QUESTION_MASK_CHAR = '?';
focal_class.type: char
focal_class.var_name: QUESTION_MASK_CHAR
focal_class.declarator: QUESTION_MASK = valueOf(QUESTION_MASK_CHAR)
focal_class.modifier: public static final
focal_class.original_string: public static final String QUESTION_MASK = valueOf(QUESTION_MASK_CHAR);
focal_class.type: String
focal_class.var_name: QUESTION_MASK
focal_class.declarator: SLASH_CHAR = '/'
focal_class.modifier: public static final
focal_class.original_string: public static final char SLASH_CHAR = '/';
focal_class.type: char
focal_class.var_name: SLASH_CHAR
focal_class.declarator: SLASH = valueOf(SLASH_CHAR)
focal_class.modifier: public static final
focal_class.original_string: public static final String SLASH = valueOf(SLASH_CHAR);
focal_class.type: String
focal_class.var_name: SLASH
focal_class.declarator: HYPHEN_CHAR = '-'
focal_class.modifier: public static final
focal_class.original_string: public static final char HYPHEN_CHAR = '-';
focal_class.type: char
focal_class.var_name: HYPHEN_CHAR
focal_class.declarator: HYPHEN = valueOf(HYPHEN_CHAR)
focal_class.modifier: public static final
focal_class.original_string: public static final String HYPHEN = valueOf(HYPHEN_CHAR);
focal_class.type: String
focal_class.var_name: HYPHEN
focal_class.file: dubbo-common/src/main/java/org/apache/dubbo/common/utils/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.length(final CharSequence cs)
focal_class.full_signature: public static int length(final CharSequence cs)
focal_class.identifier: length
focal_class.modifiers: public static
focal_class.parameters: (final CharSequence cs)
focal_class.return: int
focal_class.signature: int length(final CharSequence cs)
focal_class.class_method_signature: StringUtils.repeat(final String str, final int repeat)
focal_class.full_signature: public static String repeat(final String str, final int repeat)
focal_class.identifier: repeat
focal_class.modifiers: public static
focal_class.parameters: (final String str, final int repeat)
focal_class.return: String
focal_class.signature: String repeat(final String str, final int repeat)
focal_class.class_method_signature: StringUtils.repeat(final String str, final String separator, final int repeat)
focal_class.full_signature: public static String repeat(final String str, final String separator, final int repeat)
focal_class.identifier: repeat
focal_class.modifiers: public static
focal_class.parameters: (final String str, final String separator, final int repeat)
focal_class.return: String
focal_class.signature: String repeat(final String str, final String separator, final int repeat)
focal_class.class_method_signature: StringUtils.removeEnd(final String str, final String remove)
focal_class.full_signature: public static String removeEnd(final String str, final String remove)
focal_class.identifier: removeEnd
focal_class.modifiers: public static
focal_class.parameters: (final String str, final String remove)
focal_class.return: String
focal_class.signature: String removeEnd(final String str, final String remove)
focal_class.class_method_signature: StringUtils.repeat(final char ch, final int repeat)
focal_class.full_signature: public static String repeat(final char ch, final int repeat)
focal_class.identifier: repeat
focal_class.modifiers: public static
focal_class.parameters: (final char ch, final int repeat)
focal_class.return: String
focal_class.signature: String repeat(final char ch, final int repeat)
focal_class.class_method_signature: StringUtils.stripEnd(final String str, final String stripChars)
focal_class.full_signature: public static String stripEnd(final String str, final String stripChars)
focal_class.identifier: stripEnd
focal_class.modifiers: public static
focal_class.parameters: (final String str, final String stripChars)
focal_class.return: String
focal_class.signature: String stripEnd(final String str, final String stripChars)
focal_class.class_method_signature: StringUtils.replace(final String text, final String searchString, final String replacement)
focal_class.full_signature: public static String replace(final String text, final String searchString, final String replacement)
focal_class.identifier: replace
focal_class.modifiers: public static
focal_class.parameters: (final String text, final String searchString, final String replacement)
focal_class.return: String
focal_class.signature: String replace(final String text, final String searchString, final String replacement)
focal_class.class_method_signature: StringUtils.replace(final String text, final String searchString, final String replacement, int max)
focal_class.full_signature: public static String replace(final String text, final String searchString, final String replacement, int max)
focal_class.identifier: replace
focal_class.modifiers: public static
focal_class.parameters: (final String text, final String searchString, final String replacement, int max)
focal_class.return: String
focal_class.signature: String replace(final String text, final String searchString, final String replacement, int max)
focal_class.class_method_signature: StringUtils.isBlank(CharSequence cs)
focal_class.full_signature: public static boolean isBlank(CharSequence cs)
focal_class.identifier: isBlank
focal_class.modifiers: public static
focal_class.parameters: (CharSequence cs)
focal_class.return: boolean
focal_class.signature: boolean isBlank(CharSequence cs)
focal_class.class_method_signature: StringUtils.isEmpty(String str)
focal_class.full_signature: public static boolean isEmpty(String str)
focal_class.identifier: isEmpty
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: boolean
focal_class.signature: boolean isEmpty(String str)
focal_class.class_method_signature: StringUtils.isNoneEmpty(final String... ss)
focal_class.full_signature: public static boolean isNoneEmpty(final String... ss)
focal_class.identifier: isNoneEmpty
focal_class.modifiers: public static
focal_class.parameters: (final String... ss)
focal_class.return: boolean
focal_class.signature: boolean isNoneEmpty(final String... ss)
focal_class.class_method_signature: StringUtils.isAnyEmpty(final String... ss)
focal_class.full_signature: public static boolean isAnyEmpty(final String... ss)
focal_class.identifier: isAnyEmpty
focal_class.modifiers: public static
focal_class.parameters: (final String... ss)
focal_class.return: boolean
focal_class.signature: boolean isAnyEmpty(final String... ss)
focal_class.class_method_signature: StringUtils.isNotEmpty(String str)
focal_class.full_signature: public static boolean isNotEmpty(String str)
focal_class.identifier: isNotEmpty
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: boolean
focal_class.signature: boolean isNotEmpty(String str)
focal_class.class_method_signature: StringUtils.isEquals(String s1, String s2)
focal_class.full_signature: public static boolean isEquals(String s1, String s2)
focal_class.identifier: isEquals
focal_class.modifiers: public static
focal_class.parameters: (String s1, String s2)
focal_class.return: boolean
focal_class.signature: boolean isEquals(String s1, String s2)
focal_class.class_method_signature: StringUtils.isInteger(String str)
focal_class.full_signature: public static boolean isInteger(String str)
focal_class.identifier: isInteger
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: boolean
focal_class.signature: boolean isInteger(String str)
focal_class.class_method_signature: StringUtils.parseInteger(String str)
focal_class.full_signature: public static int parseInteger(String str)
focal_class.identifier: parseInteger
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: int
focal_class.signature: int parseInteger(String str)
focal_class.class_method_signature: StringUtils.isJavaIdentifier(String s)
focal_class.full_signature: public static boolean isJavaIdentifier(String s)
focal_class.identifier: isJavaIdentifier
focal_class.modifiers: public static
focal_class.parameters: (String s)
focal_class.return: boolean
focal_class.signature: boolean isJavaIdentifier(String s)
focal_class.class_method_signature: StringUtils.isContains(String values, String value)
focal_class.full_signature: public static boolean isContains(String values, String value)
focal_class.identifier: isContains
focal_class.modifiers: public static
focal_class.parameters: (String values, String value)
focal_class.return: boolean
focal_class.signature: boolean isContains(String values, String value)
focal_class.class_method_signature: StringUtils.isContains(String str, char ch)
focal_class.full_signature: public static boolean isContains(String str, char ch)
focal_class.identifier: isContains
focal_class.modifiers: public static
focal_class.parameters: (String str, char ch)
focal_class.return: boolean
focal_class.signature: boolean isContains(String str, char ch)
focal_class.class_method_signature: StringUtils.isNotContains(String str, char ch)
focal_class.full_signature: public static boolean isNotContains(String str, char ch)
focal_class.identifier: isNotContains
focal_class.modifiers: public static
focal_class.parameters: (String str, char ch)
focal_class.return: boolean
focal_class.signature: boolean isNotContains(String str, char ch)
focal_class.class_method_signature: StringUtils.isContains(String[] values, String value)
focal_class.full_signature: public static boolean isContains(String[] values, String value)
focal_class.identifier: isContains
focal_class.modifiers: public static
focal_class.parameters: (String[] values, String value)
focal_class.return: boolean
focal_class.signature: boolean isContains(String[] values, String value)
focal_class.class_method_signature: StringUtils.isNumeric(String str, boolean allowDot)
focal_class.full_signature: public static boolean isNumeric(String str, boolean allowDot)
focal_class.identifier: isNumeric
focal_class.modifiers: public static
focal_class.parameters: (String str, boolean allowDot)
focal_class.return: boolean
focal_class.signature: boolean isNumeric(String str, boolean allowDot)
focal_class.class_method_signature: StringUtils.toString(Throwable e)
focal_class.full_signature: public static String toString(Throwable e)
focal_class.identifier: toString
focal_class.modifiers: public static
focal_class.parameters: (Throwable e)
focal_class.return: String
focal_class.signature: String toString(Throwable e)
focal_class.class_method_signature: StringUtils.toString(String msg, Throwable e)
focal_class.full_signature: public static String toString(String msg, Throwable e)
focal_class.identifier: toString
focal_class.modifiers: public static
focal_class.parameters: (String msg, Throwable e)
focal_class.return: String
focal_class.signature: String toString(String msg, Throwable e)
focal_class.class_method_signature: StringUtils.translate(String src, String from, String to)
focal_class.full_signature: public static String translate(String src, String from, String to)
focal_class.identifier: translate
focal_class.modifiers: public static
focal_class.parameters: (String src, String from, String to)
focal_class.return: String
focal_class.signature: String translate(String src, String from, String to)
focal_class.class_method_signature: StringUtils.split(String str, char ch)
focal_class.full_signature: public static String[] split(String str, char ch)
focal_class.identifier: split
focal_class.modifiers: public static
focal_class.parameters: (String str, char ch)
focal_class.return: String[]
focal_class.signature: String[] split(String str, char ch)
focal_class.class_method_signature: StringUtils.splitToList0(String str, char ch)
focal_class.full_signature: private static List<String> splitToList0(String str, char ch)
focal_class.identifier: splitToList0
focal_class.modifiers: private static
focal_class.parameters: (String str, char ch)
focal_class.return: List<String>
focal_class.signature: List<String> splitToList0(String str, char ch)
focal_class.class_method_signature: StringUtils.splitToList(String str, char ch)
focal_class.full_signature: public static List<String> splitToList(String str, char ch)
focal_class.identifier: splitToList
focal_class.modifiers: public static
focal_class.parameters: (String str, char ch)
focal_class.return: List<String>
focal_class.signature: List<String> splitToList(String str, char ch)
focal_class.class_method_signature: StringUtils.splitToSet(String value, char separatorChar)
focal_class.full_signature: public static Set<String> splitToSet(String value, char separatorChar)
focal_class.identifier: splitToSet
focal_class.modifiers: public static
focal_class.parameters: (String value, char separatorChar)
focal_class.return: Set<String>
focal_class.signature: Set<String> splitToSet(String value, char separatorChar)
focal_class.class_method_signature: StringUtils.splitToSet(String value, char separatorChar, boolean trimElements)
focal_class.full_signature: public static Set<String> splitToSet(String value, char separatorChar, boolean trimElements)
focal_class.identifier: splitToSet
focal_class.modifiers: public static
focal_class.parameters: (String value, char separatorChar, boolean trimElements)
focal_class.return: Set<String>
focal_class.signature: Set<String> splitToSet(String value, char separatorChar, boolean trimElements)
focal_class.class_method_signature: StringUtils.join(String[] array)
focal_class.full_signature: public static String join(String[] array)
focal_class.identifier: join
focal_class.modifiers: public static
focal_class.parameters: (String[] array)
focal_class.return: String
focal_class.signature: String join(String[] array)
focal_class.class_method_signature: StringUtils.join(String[] array, char split)
focal_class.full_signature: public static String join(String[] array, char split)
focal_class.identifier: join
focal_class.modifiers: public static
focal_class.parameters: (String[] array, char split)
focal_class.return: String
focal_class.signature: String join(String[] array, char split)
focal_class.class_method_signature: StringUtils.join(String[] array, String split)
focal_class.full_signature: public static String join(String[] array, String split)
focal_class.identifier: join
focal_class.modifiers: public static
focal_class.parameters: (String[] array, String split)
focal_class.return: String
focal_class.signature: String join(String[] array, String split)
focal_class.class_method_signature: StringUtils.join(Collection<String> coll, String split)
focal_class.full_signature: public static String join(Collection<String> coll, String split)
focal_class.identifier: join
focal_class.modifiers: public static
focal_class.parameters: (Collection<String> coll, String split)
focal_class.return: String
focal_class.signature: String join(Collection<String> coll, String split)
focal_class.class_method_signature: StringUtils.parseKeyValuePair(String str, String itemSeparator)
focal_class.full_signature: private static Map<String, String> parseKeyValuePair(String str, String itemSeparator)
focal_class.identifier: parseKeyValuePair
focal_class.modifiers: private static
focal_class.parameters: (String str, String itemSeparator)
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> parseKeyValuePair(String str, String itemSeparator)
focal_class.class_method_signature: StringUtils.getQueryStringValue(String qs, String key)
focal_class.full_signature: public static String getQueryStringValue(String qs, String key)
focal_class.identifier: getQueryStringValue
focal_class.modifiers: public static
focal_class.parameters: (String qs, String key)
focal_class.return: String
focal_class.signature: String getQueryStringValue(String qs, String key)
focal_class.class_method_signature: StringUtils.parseQueryString(String qs)
focal_class.full_signature: public static Map<String, String> parseQueryString(String qs)
focal_class.identifier: parseQueryString
focal_class.modifiers: public static
focal_class.parameters: (String qs)
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> parseQueryString(String qs)
focal_class.class_method_signature: StringUtils.getServiceKey(Map<String, String> ps)
focal_class.full_signature: public static String getServiceKey(Map<String, String> ps)
focal_class.identifier: getServiceKey
focal_class.modifiers: public static
focal_class.parameters: (Map<String, String> ps)
focal_class.return: String
focal_class.signature: String getServiceKey(Map<String, String> ps)
focal_class.class_method_signature: StringUtils.toQueryString(Map<String, String> ps)
focal_class.full_signature: public static String toQueryString(Map<String, String> ps)
focal_class.identifier: toQueryString
focal_class.modifiers: public static
focal_class.parameters: (Map<String, String> ps)
focal_class.return: String
focal_class.signature: String toQueryString(Map<String, String> ps)
focal_class.class_method_signature: StringUtils.camelToSplitName(String camelName, String split)
focal_class.full_signature: public static String camelToSplitName(String camelName, String split)
focal_class.identifier: camelToSplitName
focal_class.modifiers: public static
focal_class.parameters: (String camelName, String split)
focal_class.return: String
focal_class.signature: String camelToSplitName(String camelName, String split)
focal_class.class_method_signature: StringUtils.toArgumentString(Object[] args)
focal_class.full_signature: public static String toArgumentString(Object[] args)
focal_class.identifier: toArgumentString
focal_class.modifiers: public static
focal_class.parameters: (Object[] args)
focal_class.return: String
focal_class.signature: String toArgumentString(Object[] args)
focal_class.class_method_signature: StringUtils.trim(String str)
focal_class.full_signature: public static String trim(String str)
focal_class.identifier: trim
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: String
focal_class.signature: String trim(String str)
focal_class.class_method_signature: StringUtils.toURLKey(String key)
focal_class.full_signature: public static String toURLKey(String key)
focal_class.identifier: toURLKey
focal_class.modifiers: public static
focal_class.parameters: (String key)
focal_class.return: String
focal_class.signature: String toURLKey(String key)
focal_class.class_method_signature: StringUtils.toOSStyleKey(String key)
focal_class.full_signature: public static String toOSStyleKey(String key)
focal_class.identifier: toOSStyleKey
focal_class.modifiers: public static
focal_class.parameters: (String key)
focal_class.return: String
focal_class.signature: String toOSStyleKey(String key)
focal_class.class_method_signature: StringUtils.isAllUpperCase(String str)
focal_class.full_signature: public static boolean isAllUpperCase(String str)
focal_class.identifier: isAllUpperCase
focal_class.modifiers: public static
focal_class.parameters: (String str)
focal_class.return: boolean
focal_class.signature: boolean isAllUpperCase(String str)
focal_class.class_method_signature: StringUtils.delimitedListToStringArray(String str, String delimiter)
focal_class.full_signature: public static String[] delimitedListToStringArray(String str, String delimiter)
focal_class.identifier: delimitedListToStringArray
focal_class.modifiers: public static
focal_class.parameters: (String str, String delimiter)
focal_class.return: String[]
focal_class.signature: String[] delimitedListToStringArray(String str, String delimiter)
focal_class.class_method_signature: StringUtils.delimitedListToStringArray(String str, String delimiter, String charsToDelete)
focal_class.full_signature: public static String[] delimitedListToStringArray(String str, String delimiter, String charsToDelete)
focal_class.identifier: delimitedListToStringArray
focal_class.modifiers: public static
focal_class.parameters: (String str, String delimiter, String charsToDelete)
focal_class.return: String[]
focal_class.signature: String[] delimitedListToStringArray(String str, String delimiter, String charsToDelete)
focal_class.class_method_signature: StringUtils.arrayToDelimitedString(Object[] arr, String delim)
focal_class.full_signature: public static String arrayToDelimitedString(Object[] arr, String delim)
focal_class.identifier: arrayToDelimitedString
focal_class.modifiers: public static
focal_class.parameters: (Object[] arr, String delim)
focal_class.return: String
focal_class.signature: String arrayToDelimitedString(Object[] arr, String delim)
focal_class.class_method_signature: StringUtils.deleteAny(String inString, String charsToDelete)
focal_class.full_signature: public static String deleteAny(String inString, String charsToDelete)
focal_class.identifier: deleteAny
focal_class.modifiers: public static
focal_class.parameters: (String inString, String charsToDelete)
focal_class.return: String
focal_class.signature: String deleteAny(String inString, String charsToDelete)
focal_class.class_method_signature: StringUtils.toStringArray(Collection<String> collection)
focal_class.full_signature: public static String[] toStringArray(Collection<String> collection)
focal_class.identifier: toStringArray
focal_class.modifiers: public static
focal_class.parameters: (Collection<String> collection)
focal_class.return: String[]
focal_class.signature: String[] toStringArray(Collection<String> collection)
focal_class.class_method_signature: StringUtils.nullSafeToString(Object obj)
focal_class.full_signature: public static String nullSafeToString(Object obj)
focal_class.identifier: nullSafeToString
focal_class.modifiers: public static
focal_class.parameters: (Object obj)
focal_class.return: String
focal_class.signature: String nullSafeToString(Object obj)
focal_class.class_method_signature: StringUtils.parseParameters(String rawParameters)
focal_class.full_signature: public static Map<String, String> parseParameters(String rawParameters)
focal_class.identifier: parseParameters
focal_class.modifiers: public static
focal_class.parameters: (String rawParameters)
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> parseParameters(String rawParameters)
focal_class.class_method_signature: StringUtils.decodeHexNibble(final char c)
focal_class.full_signature: public static int decodeHexNibble(final char c)
focal_class.identifier: decodeHexNibble
focal_class.modifiers: public static
focal_class.parameters: (final char c)
focal_class.return: int
focal_class.signature: int decodeHexNibble(final char c)
focal_class.class_method_signature: StringUtils.decodeHexByte(CharSequence s, int pos)
focal_class.full_signature: public static byte decodeHexByte(CharSequence s, int pos)
focal_class.identifier: decodeHexByte
focal_class.modifiers: public static
focal_class.parameters: (CharSequence s, int pos)
focal_class.return: byte
focal_class.signature: byte decodeHexByte(CharSequence s, int pos)
focal_class.class_method_signature: StringUtils.toCommaDelimitedString(String one, String... others)
focal_class.full_signature: public static String toCommaDelimitedString(String one, String... others)
focal_class.identifier: toCommaDelimitedString
focal_class.modifiers: public static
focal_class.parameters: (String one, String... others)
focal_class.return: String
focal_class.signature: String toCommaDelimitedString(String one, String... others)
focal_method.body: public static String repeat(final String str, final int repeat) {
          // Performance tuned for 2.0 (JDK1.4)
  
          if (str == null) {
              return null;
          }
          if (repeat <= 0) {
              return EMPTY_STRING;
          }
          final int inputLength = str.length();
          if (repeat == 1 || inputLength == 0) {
              return str;
          }
          if (inputLength == 1 && repeat <= PAD_LIMIT) {
              return repeat(str.charAt(0), repeat);
          }
  
          final int outputLength = inputLength * repeat;
          switch (inputLength) {
              case 1:
                  return repeat(str.charAt(0), repeat);
              case 2:
                  final char ch0 = str.charAt(0);
                  final char ch1 = str.charAt(1);
                  final char[] output2 = new char[outputLength];
                  for (int i = repeat * 2 - 2; i >= 0; i--, i--) {
                      output2[i] = ch0;
                      output2[i + 1] = ch1;
                  }
                  return new String(output2);
              default:
                  final StringBuilder buf = new StringBuilder(outputLength);
                  for (int i = 0; i < repeat; i++) {
                      buf.append(str);
                  }
                  return buf.toString();
          }
      }
focal_method.class_method_signature: StringUtils.repeat(final String str, final int repeat)
focal_method.full_signature: public static String repeat(final String str, final int repeat)
focal_method.identifier: repeat
focal_method.invocations: length repeat charAt repeat charAt charAt charAt append toString
focal_method.modifiers: public static
focal_method.parameters: (final String str, final int repeat)
focal_method.return: String
focal_method.signature: String repeat(final String str, final int repeat)