Lines Matching defs:coll

617      * @param  coll the collection whose minimum element is to be determined.
626 public static <T extends Object & Comparable<? super T>> T min(Collection<? extends T> coll) {
627 Iterator<? extends T> i = coll.iterator();
649 * @param coll the collection whose minimum element is to be determined.
660 public static <T> T min(Collection<? extends T> coll, Comparator<? super T> comp) {
662 return (T)min((Collection<SelfComparable>) (Collection) coll);
664 Iterator<? extends T> i = coll.iterator();
687 * @param coll the collection whose maximum element is to be determined.
696 public static <T extends Object & Comparable<? super T>> T max(Collection<? extends T> coll) {
697 Iterator<? extends T> i = coll.iterator();
719 * @param coll the collection whose maximum element is to be determined.
730 public static <T> T max(Collection<? extends T> coll, Comparator<? super T> comp) {
732 return (T)max((Collection<SelfComparable>) (Collection) coll);
734 Iterator<? extends T> i = coll.iterator();
1081 public boolean containsAll(Collection<?> coll) {
1082 return c.containsAll(coll);
1084 public boolean addAll(Collection<? extends E> coll) {
1087 public boolean removeAll(Collection<?> coll) {
1090 public boolean retainAll(Collection<?> coll) {
1454 public boolean containsAll(Collection<?> coll) {
1455 for (Object e : coll) {
1642 public boolean containsAll(Collection<?> coll) {
1643 synchronized (mutex) {return c.containsAll(coll);}
1645 public boolean addAll(Collection<? extends E> coll) {
1646 synchronized (mutex) {return c.addAll(coll);}
1648 public boolean removeAll(Collection<?> coll) {
1649 synchronized (mutex) {return c.removeAll(coll);}
1651 public boolean retainAll(Collection<?> coll) {
1652 synchronized (mutex) {return c.retainAll(coll);}
2300 public boolean containsAll(Collection<?> coll) {
2301 return c.containsAll(coll);
2303 public boolean removeAll(Collection<?> coll) {
2304 return c.removeAll(coll);
2306 public boolean retainAll(Collection<?> coll) {
2307 return c.retainAll(coll);
2331 Collection<E> checkedCopyOf(Collection<? extends E> coll) {
2335 a = coll.toArray(z);
2336 // Defend against coll violating the toArray contract
2342 // We call clone() to defend against coll retaining a
2345 a = coll.toArray().clone();
2353 public boolean addAll(Collection<? extends E> coll) {
2355 // in the contents of coll and provides all-or-nothing
2358 return c.addAll(checkedCopyOf(coll));
2735 public boolean addAll(Collection<? extends Map.Entry<K, V>> coll) {