Home | History | Annotate | Download | only in util

Lines Matching refs:collection

86      * Removes all occurrences in this collection which are contained in the
87 * specified collection.
89 * @param collection
90 * the collection of objects to remove.
91 * @return {@code true} if this collection was modified, {@code false}
94 * if removing from this collection is not supported.
97 public boolean removeAll(Collection<?> collection) {
99 if (size() <= collection.size()) {
102 if (collection.contains(it.next())) {
108 Iterator<?> it = collection.iterator();