CollectionUtil { public static boolean containsIgnoreCase(final Collection<? extends String> collection, final String string) { if (collection.isEmpty()) { return false; } for (final String entry : collection) { if (entry.equalsIgnoreCase(string)) { return true; } } return false; }  static int clear(final Collection collection); static List<String> toStringList(final Collection<T> collection); static String smartJoin(final Collection<T> collection,
        final Generator<T, String> stringGenerator, final String joiner); @SafeVarargs static C arrayToCollection(
        final Supplier<C> creator, final T... array); @Deprecated static Collection<String> toStringCollection(final String stringList); static String join(final Collection<T> collection, String joiner); static boolean containsIgnoreCase(final Collection<? extends String> collection,
        final String string);  }
@Test void containsIgnoreCase() { final Collection<String> collection = Arrays.asList("heLlO", "WorLd"); Assertions.assertTrue(CollectionUtil.containsIgnoreCase(collection, "hello")); Assertions.assertTrue(CollectionUtil.containsIgnoreCase(collection, "WORLD")); }