| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | removeMatching(Collection<String>
subject value collection values, String... patterns to match patterns)Removes all values in the subject collection that are matched by at least one of a collection of regular expressions. |
| public static void | removeMatching(Collection<String>
subject value collection values, Collection<String> patterns to match patterns)Removes all values in the subject collection that are matched by at least one of a collection of regular expressions. |
| public static void | retainMatching(Collection<String>
subject value collection values, String... patterns to match patterns)Retains all values in the subject collection that are matched by at least one of a collection of regular expressions. |
| public static void | retainMatching(Collection<String>
subject value collection values, Collection<String> patterns to match patterns)Retains all values in the subject collection that are matched by at least one of a collection of regular expressions. |
| StringCollectionUtil | back to summary |
|---|---|
| public StringCollectionUtil() | |
| removeMatching | back to summary |
|---|---|
| public static void removeMatching(Collection<String> values, String... patterns) Removes all values in the subject collection that are matched by at least one of a collection of regular expressions.
This method is a convenience overload for
| |
| removeMatching | back to summary |
|---|---|
| public static void removeMatching(Collection<String> values, Collection<String> patterns) Removes all values in the subject collection that are matched by at least one of a collection of regular expressions.
The semantics of this method are conceptually similar to
| |
| retainMatching | back to summary |
|---|---|
| public static void retainMatching(Collection<String> values, String... patterns) Retains all values in the subject collection that are matched by at least one of a collection of regular expressions.
This method is a convenience overload for
| |
| retainMatching | back to summary |
|---|---|
| public static void retainMatching(Collection<String> values, Collection<String> patterns) Retains all values in the subject collection that are matched by at least one of a collection of regular expressions.
The semantics of this method are conceptually similar to
| |