How to find does vector contains all list elements or not?

robo para opções binárias Below example shows how to find whether a vector contains list of objects or not. The method containsAll() helps us to find the match.

rencontre femme estonie

conocer hombre rico enter site containsAll(Collection<?> c)

http://ligaspanyol.net/?mikroskop=cherche-femme-de-menage-13011&98f=9f Returns true if this Vector contains all of the elements in the specified Collection.

http://www.capacuras.com/?rtyt=site-de-rencontre-socialisation&f11=fe package vector; import java.util.ArrayList; import java.util.List; import java.util.Vector; public class VectorElementCheck { public static void main(String a[]){ Vector<String> vct = new Vector<String>(); vct.add("India"); vct.add("Autralia"); vct.add("New Zealand"); vct.add("England"); List<String> list = new ArrayList<String>(); list.add("Autralia"); list.add("England"); System.out.println("Does vector contains all list elements?: "+vct.containsAll(list)); list.add("Pakistan"); System.out.println("Does vector contains all list elements?: "+vct.containsAll(list)); } }

site de rencontre java watch Output:

see url Does vector contains all list elements?: true
Does vector contains all list elements?: false