static bool containsAll(Collection extends A> a, Collection b) { for (A o : b) if (!a.contains(o)) false; true; }