public static boolean containsIgnoreCase ( Collection < String > reference , Collection < String > target ) { return toLowerCase ( reference ) . containsAll ( toLowerCase ( target ) ) ; }
Returns whether the reference collection contains all of the strings in the target collection ignoring case .