Here you can find the source of containsIgnoreCase(final String string, final List> list)
public static final synchronized Boolean containsIgnoreCase(final String string, final List<?> list)
//package com.java2s; //License from project: Open Source License import java.util.List; public class Main { public static final synchronized Boolean containsIgnoreCase(final String string, final List<?> list) { for (Object object : list) { if (string.toLowerCase().contains(object.toString().toLowerCase())) { return true; }/*from ww w . j a v a 2s . c o m*/ } return false; } }