Here you can find the source of containsAllIgnoreCase(List
private static boolean containsAllIgnoreCase(List<String> left, List<String> right)
//package com.java2s; /**/*from w ww . j a va 2 s . com*/ * Determines if the specific license type is enabled. * * @param type * the type of the license. * @return true if the license is found. */ import java.util.*; public class Main { private static boolean containsAllIgnoreCase(List<String> left, List<String> right) { for (String rightString : right) { if (!containsIgnoreCase(left, rightString)) { return false; } } return true; } private static boolean containsIgnoreCase(List<String> left, String rightString) { for (String leftString : left) { if (leftString.equalsIgnoreCase(rightString)) { return true; } } return false; } }