Lines Matching refs:collection
124 * Determine if the array map contains all of the keys in the given collection.
125 * @param collection The collection whose contents are to be checked against.
127 * in <var>collection</var>, else returns false.
129 public boolean containsAll(Collection<?> collection) {
130 return MapCollections.containsAllHelper(this, collection);
146 * Remove all keys in the array map that exist in the given collection.
147 * @param collection The collection whose contents are to be used to remove keys.
150 public boolean removeAll(Collection<?> collection) {
151 return MapCollections.removeAllHelper(this, collection);
155 * Remove all keys in the array map that do <b>not</b> exist in the given collection.
156 * @param collection The collection whose contents are to be used to determine which
160 public boolean retainAll(Collection<?> collection) {
161 return MapCollections.retainAllHelper(this, collection);