Lines Matching defs:collection
692 // specialized collection APIs.
748 * Determine if the array map contains all of the keys in the given collection.
749 * @param collection The collection whose contents are to be checked against.
751 * in <var>collection</var>, else returns false.
753 public boolean containsAll(Collection<?> collection) {
754 return MapCollections.containsAllHelper(this, collection);
770 * Remove all keys in the array map that exist in the given collection.
771 * @param collection The collection whose contents are to be used to remove keys.
774 public boolean removeAll(Collection<?> collection) {
775 return MapCollections.removeAllHelper(this, collection);
779 * Remove all keys in the array map that do <b>not</b> exist in the given collection.
780 * @param collection The collection whose contents are to be used to determine which
784 public boolean retainAll(Collection<?> collection) {
785 return MapCollections.retainAllHelper(this, collection);