Lines Matching defs:Collections

60  * Java Collections Framework</a>.
71 public class Collections {
73 private Collections() {
259 return Collections.indexedBinarySearch(list, key);
261 return Collections.iteratorBinarySearch(list, key);
365 return Collections.indexedBinarySearch(list, key, c);
367 return Collections.iteratorBinarySearch(list, key, c);
754 * After invoking <tt>Collections.rotate(list, 1)</tt> (or
755 * <tt>Collections.rotate(list, -4)</tt>), <tt>list</tt> will comprise
764 * Collections.rotate(list.subList(j, k+1), -1);
770 * Collections.rotate(l.subList(1, 4), -1);
1565 * Collection c = Collections.synchronizedCollection(myCollection);
1674 * Set s = Collections.synchronizedSet(new HashSet());
1733 * SortedSet s = Collections.synchronizedSortedSet(new TreeSet());
1743 * SortedSet s = Collections.synchronizedSortedSet(new TreeSet());
1822 * List list = Collections.synchronizedList(new ArrayList());
1980 * Map m = Collections.synchronizedMap(new HashMap());
2108 * SortedMap m = Collections.synchronizedSortedMap(new TreeMap());
2120 * SortedMap m = Collections.synchronizedSortedMap(new TreeMap());
2228 * Collection<String> c = Collections.checkedCollection(
3108 * Set&lt;String&gt; s = Collections.emptySet();
3167 * List&lt;String&gt; s = Collections.emptyList();
3241 * Map&lt;String, Date&gt; s = Collections.emptyMap();
3432 entrySet = Collections.<Map.Entry<K,V>>singleton(
3552 * Arrays.sort(a, Collections.reverseOrder());
3785 // Both are mere Collections. Iterate over smaller collection.
3806 // Found a common element. Collections are not disjoint.
3825 * Collections.addAll(flavors, "Peaches 'n Plutonium", "Rocky Racoon");
3869 * Set&lt;Object&gt; weakHashSet = Collections.newSetFromMap(