@Test public void testRetainMatchingWithNoPatterns() throws Exception { Collection<String> values = stringToList("A"); StringCollectionUtil.retainMatching(values); assertTrue(values.contains("A")); }
public static void retainMatching(Collection<String> values, String... patterns) { retainMatching(values, Arrays.asList(patterns)); }
StringCollectionUtil { public static void retainMatching(Collection<String> values, String... patterns) { retainMatching(values, Arrays.asList(patterns)); } }
StringCollectionUtil { public static void retainMatching(Collection<String> values, String... patterns) { retainMatching(values, Arrays.asList(patterns)); }  }
StringCollectionUtil { public static void retainMatching(Collection<String> values, String... patterns) { retainMatching(values, Arrays.asList(patterns)); }  static void retainMatching(Collection<String> values,
      String... patterns); static void retainMatching(Collection<String> values,
      Collection<String> patterns); static void removeMatching(Collection<String> values,
      String... patterns); static void removeMatching(Collection<String> values,
      Collection<String> patterns); }
StringCollectionUtil { public static void retainMatching(Collection<String> values, String... patterns) { retainMatching(values, Arrays.asList(patterns)); }  static void retainMatching(Collection<String> values,
      String... patterns); static void retainMatching(Collection<String> values,
      Collection<String> patterns); static void removeMatching(Collection<String> values,
      String... patterns); static void removeMatching(Collection<String> values,
      Collection<String> patterns);  }