| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: true if all the characters in thestring answer true for the specified predicate.
Deprecated
since 7.0.
|
| public static boolean | Returns: true if all the code points in thestring answer true for the specified predicate.
Deprecated
since 7.0.
|
| public static boolean | Returns: true if all the characters in thestring answer true for the specified predicate.
|
| public static boolean | Returns: true if all the code points in thestring answer true for the specified predicate.
|
| public static boolean | Returns: true if any of the characters in thestring answer true for the specified predicate.
Deprecated
since 7.0.
|
| public static boolean | Returns: true if any of the code points in thestring answer true for the specified predicate.
Deprecated
since 7.0.
|
| public static boolean | Returns: true if any of the characters in thestring answer true for the specified predicate.
|
| public static boolean | Returns: true if any of the code points in thestring answer true for the specified predicate.
|
| public static CharAdapter | |
| public static CodePointAdapter | |
| public static MutableSet | |
| public static MutableSet | |
| private static boolean | |
| public static MutableList | |
| public static String | |
| public static String | collect(String string, CharToCharFunction function)
Deprecated
since 7.0.
Transform the char elements to a new string using the specified function |
| public static String | collect(String string, CodePointFunction function)
Deprecated
since 7.0.
Transform the int code point elements to a new string using the specified function |
| public static String | collectChar(String string, CharToCharFunction function)
Transform the char elements to a new string using the specified function |
| public static String | collectCodePoint(String string, CodePointFunction function)
Transform the int code point elements to a new string using the specified function |
| public static int | count(String string, CharPredicate predicate)
Deprecated
since 3.0.
Count the number of elements that return true for the specified |
| public static int | count(String string, CharPredicate predicate)
Deprecated
since 7.0.
Count the number of elements that return true for the specified |
| public static int | count(String string, CodePointPredicate predicate)
Deprecated
since 7.0.
Count the number of elements that return true for the specified |
| public static int | countChar(String string, CharPredicate predicate)
Count the number of elements that return true for the specified |
| public static int | countCodePoint(String string, CodePointPredicate predicate)
Count the number of elements that return true for the specified |
| public static MutableList | csvTokensToList(String string)
Deprecated
in 3.0. Inlineable. Poorly named method. Does not actually deal properly with CSV. This is better handled in a separate library.
Converts a string of tokens separated by commas to a |
| public static MutableList | csvTokensToReverseSortedList(String string)
Deprecated
in 3.0. Inlineable. Poorly named method. Does not actually deal properly with CSV. This is better handled in a separate library.
Converts a string of tokens separated by the specified separator to a reverse sorted |
| public static MutableSet | csvTokensToSet(String string)
Deprecated
in 3.0. Inlineable. Poorly named method. Does not actually deal properly with CSV. This is better handled in a separate library.
Converts a string of tokens separated by commas to a |
| public static MutableList | csvTokensToSortedList(String string)
Deprecated
in 3.0. Inlineable. Poorly named method. Does not actually deal properly with CSV. This is better handled in a separate library.
Converts a string of tokens separated by the specified separator to a sorted |
| public static MutableList | csvTrimmedTokensToList(String string)
Deprecated
in 3.0. Inlineable. Poorly named method. Does not actually deal properly with CSV. This is better handled in a separate library.
Converts a string of tokens separated by commas to a |
| public static MutableList | csvTrimmedTokensToSortedList(String string)
Deprecated
in 3.0. Inlineable. Poorly named method. Does not actually deal properly with CSV. This is better handled in a separate library.
Converts a string of tokens separated by the specified separator to a sorted |
| public static Character | detect(String string, CharPredicate predicate)
Deprecated
since 7.0.
Find the first element that returns true for the specified |
| public static Character | detectChar(String string, CharPredicate predicate)
Find the first element that returns true for the specified |
| public static Character | detectCharIfNone(String string, CharPredicate predicate, char resultIfNone)
Find the first element that returns true for the specified |
| public static Character | detectCharIfNone(String string, CharPredicate predicate, String resultIfNone)
Find the first element that returns true for the specified |
| public static Character | detectIfNone(String string, CharPredicate predicate, char resultIfNone)
Deprecated
since 7.0.
Find the first element that returns true for the specified |
| public static Character | detectIfNone(String string, CharPredicate predicate, String resultIfNone)
Deprecated
since 7.0.
Find the first element that returns true for the specified |
| public static String | |
| public static String | |
| public static void | forEach(String string, CharProcedure procedure)
Deprecated
since 3.0.
For each character in the |
| public static void | forEach(String string, CharProcedure procedure)
Deprecated
since 7.0.
For each character in the |
| public static void | forEach(String string, CodePointProcedure procedure)
Deprecated
since 7.0.
For each int code point in the |
| public static void | forEachChar(String string, CharProcedure procedure)
For each char in the |
| public static void | forEachCodePoint(String string, CodePointProcedure procedure)
For each int code point in the |
| public static void | forEachToken(String string, String separator, Procedure<String> procedure)
For each token in a string separated by the specified separator, execute the specified StringProcedure by calling the valueOfString method. |
| public static void | |
| public static String | |
| public static String | |
| public static <T, R> R | injectIntoTokens(String string, String separator, R injectedValue, Function2<? super R, String, ? extends R> function)
For each token in a string separated by the specified separator, execute the specified Function2, returning the result value from the function. |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static boolean | |
| private static boolean | |
| private static int | |
| public static boolean | Returns: true if none of the characters in thestring answer true for the specified predicate.
Deprecated
since 7.0.
|
| public static boolean | Returns: true if none of the code points in thestring answer true for the specified predicate.
Deprecated
since 7.0.
|
| public static boolean | Returns: true if none of the characters in thestring answer true for the specified predicate.
|
| public static boolean | Returns: true if none of the code points in thestring answer true for the specified predicate.
|
| public static boolean | |
| public static boolean | |
| public static int | |
| public static int | occurrencesOf(String string, char value)
Deprecated
since 7.0. Use
occurrencesOfChar(String, char) instead.
Count the number of occurrences of the specified char. |
| public static int | occurrencesOf(String string, int value)
Deprecated
since 7.0. Use
occurrencesOfCodePoint(String, int) instead.
Count the number of occurrences of the specified int code point. |
| public static int | occurrencesOf(String string, String singleCharacter)
Count the number of occurrences of the specified |
| public static int | |
| public static int | occurrencesOfCodePoint(String string, int value)
Count the number of occurrences of the specified int code point. |
| public static String | |
| public static String | Returns: a new string excluding all the characters that return true for the specifiedpredicate.
Deprecated
since 7.0.
|
| public static String | Returns: a new string excluding all the code points that return true for the specifiedpredicate.
Deprecated
since 7.0.
|
| public static String | Returns: a new string excluding all the characters that return true for the specifiedpredicate.
|
| public static String | Returns: a new string excluding all the code points that return true for the specifiedpredicate.
|
| public static String | |
| public static String | |
| public static void | reverseForEach(String string, CharProcedure procedure)
Deprecated
since 7.0.
For each char in the |
| public static void | reverseForEach(String string, CodePointProcedure procedure)
Deprecated
since 7.0.
For each int code point in the |
| public static void | reverseForEachChar(String string, CharProcedure procedure)
For each char in the |
| public static void | reverseForEachCodePoint(String string, CodePointProcedure procedure)
For each int code point in the |
| public static String | Returns: a new string with all the characters that return true for the specifiedpredicate.
Deprecated
since 7.0.
|
| public static String | Returns: a new string with all the code points that return true for the specifiedpredicate.
Deprecated
since 7.0.
|
| public static String | Returns: a new string with all the characters that return true for the specifiedpredicate.
|
| public static String | Returns: a new string with all the code points that return true for the specifiedpredicate.
|
| public static Twin | |
| public static MutableBag | |
| public static CodePointList | |
| public static MutableList | tokensToList(String string, String separator)
Converts a string of tokens separated by the specified separator to a |
| public static MutableMap | tokensToMap(String string)
Converts a string of tokens to a |
| public static MutableMap | tokensToMap(String string, String pairSeparator, String keyValueSeparator)
Converts a string of tokens to a |
| public static <K, V> MutableMap | tokensToMap(String string, String separator, String keyValueSeparator, Function<String, K> keyFunction, Function<String, V> valueFunction)
Converts a string of tokens to a |
| public static MutableList | tokensToReverseSortedList(String string, String separator)
Converts a string of tokens separated by the specified separator to a reverse sorted |
| public static MutableSet | |
| public static MutableList | tokensToSortedList(String string, String separator)
Converts a string of tokens separated by the specified separator to a sorted |
| public static MutableList | |
| public static MutableBag | |
| public static MutableList | |
| public static MutableSet | |
| public static MutableSet | |
| public static MutableBag | |
| public static MutableList | |
| public static MutableSet | |
| public static MutableList | trimmedTokensToList(String string, String separator)
Converts a string of tokens separated by the specified separator to a |
| public static MutableList | trimmedTokensToSortedList(String string, String separator)
Converts a string of tokens separated by the specified separator to a sorted |
| private static <L extends List | Returns: the input list, mutated in place, containing trimmed strings.Applies |