Here you can find the source of contains(List
public static boolean contains(List<String> list1, List<String> list2)
//package com.java2s; //License from project: Apache License import java.util.List; public class Main { public static boolean contains(List<String> list1, List<String> list2) { return false; }//from w w w . j a v a 2s.c om }