is there any way to check if a collection contain a value or more with better performance than looping twice with contains?
in other meaning something that would loo
Simply use Arrays class
person.containsAll(Arrays.asList("Jasha","Joe"));