Lines Matching defs:collection
742 // specialized collection APIs.
798 * Determine if the array map contains all of the keys in the given collection.
799 * @param collection The collection whose contents are to be checked against.
801 * in <var>collection</var>, else returns false.
803 public boolean containsAll(Collection<?> collection) {
804 return MapCollections.containsAllHelper(this, collection);
820 * Remove all keys in the array map that exist in the given collection.
821 * @param collection The collection whose contents are to be used to remove keys.
824 public boolean removeAll(Collection<?> collection) {
825 return MapCollections.removeAllHelper(this, collection);
829 * Remove all keys in the array map that do <b>not</b> exist in the given collection.
830 * @param collection The collection whose contents are to be used to determine which
834 public boolean retainAll(Collection<?> collection) {
835 return MapCollections.retainAllHelper(this, collection);