/** * Checks whether this composite contains all the elements in the specified collection. * <p> * This implementation calls <code>contains()</code> for each element in the * specified collection. * * @param coll the collection to check for * @return true if all elements contained */ @Override public boolean containsAll(final Collection<?> coll) { for (final Object item : coll) { if (contains(item) == false) { return false; } } return true; }