HomeSort by relevance Sort by last modified time
    Searched defs:Collections (Results 1 - 25 of 266) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Collections/
StackList.cs 35 namespace Antlr.Runtime.Collections
38 using ArrayList = System.Collections.ArrayList;
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
SingletonImmutableList.java 21 import java.util.Collections;
36 super(Collections.singletonList(checkNotNull(element)));
SingletonImmutableMap.java 21 import java.util.Collections;
40 super(Collections.singletonMap(checkNotNull(key), checkNotNull(value)));
SingletonImmutableSet.java 21 import java.util.Collections;
38 super(Collections.singleton(checkNotNull(element)));
ImmutableSet.java 23 import java.util.Collections;
30 * are thin wrapper around {@link java.util.Collections#emptySet()}, {@link
31 * Collections#singleton(Object)} and {@link java.util.LinkedHashSet} for
44 super(Collections.unmodifiableSet(delegate));
48 this(Collections.<E>emptySet());
86 Collections.addAll(all, e1, e2, e3, e4, e5, e6);
87 Collections.addAll(all, others);
158 Collections.addAll(set, elements);
ImmutableBiMap.java 19 import java.util.Collections;
125 super(Collections.emptyMap());
  /frameworks/base/core/java/com/google/android/collect/
Lists.java 20 import java.util.Collections;
32 * {@link Collections#emptyList} instead.
61 Collections.addAll(list, elements);
Sets.java 21 import java.util.Collections;
41 * use {@link Collections#emptySet} instead.
69 Collections.addAll(set, elements);
91 Collections.addAll(set, elements);
108 Collections.addAll(set, elements);
  /libcore/luni/src/test/java/libcore/java/util/
OldCollectionsTest.java 24 import java.util.Collections;
53 * java.util.Collections#binarySearch(java.util.List,
60 Collections.sort(lst, null);
61 int index = Collections.binarySearch(lst, new Integer(2), null);
73 Collections.binarySearch(ll, new Integer(10), null);
81 * java.util.Collections#binarySearch(java.util.List,
88 assertEquals(-1, Collections.binarySearch(localList, new Object()));
91 Collections.binarySearch(localList, new Integer(1));
106 Collections.binarySearch(ll, new Integer(10));
114 * java.util.Collections#rotate(java.util.List, int
    [all...]
CollectionsTest.java 20 import java.util.Collections;
30 Enumeration<Object> e = Collections.emptyEnumeration();
41 testEmptyIterator(Collections.emptyIterator());
42 testEmptyIterator(Collections.emptyList().iterator());
43 testEmptyIterator(Collections.emptySet().iterator());
44 testEmptyIterator(Collections.emptyMap().keySet().iterator());
45 testEmptyIterator(Collections.emptyMap().entrySet().iterator());
46 testEmptyIterator(Collections.emptyMap().values().iterator());
65 testEmptyListIterator(Collections.emptyListIterator());
66 testEmptyListIterator(Collections.emptyList().listIterator())
    [all...]
  /cts/tools/signature-tools/src/signature/io/html/
ApiOverviewPage.java 26 import java.util.Collections;
52 Collections.sort(removedPackages, new PackageByNameComparator());
56 Collections.sort(addedPackages, new PackageByNameComparator());
60 Collections.sort(changedPackages, new PackageByNameComparator());
PackageOverviewPage.java 22 import java.util.Collections;
52 Collections.sort(removedClasses, new ClassByNameComparator());
56 Collections.sort(addedClasses, new ClassByNameComparator());
60 Collections.sort(changedClasses, new ClassByNameComparator());
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
Collections2Test.java 24 import java.util.Collections;
54 * @tests java.util.Collections#binarySearch(java.util.List,
61 Collections.sort(lst, null);
62 int index = Collections.binarySearch(lst, new Integer(2), null);
67 * @tests java.util.Collections#binarySearch(java.util.List,
74 assertEquals(-1, Collections.binarySearch(localList, new Object()));
77 Collections.binarySearch(localList, new Integer(1));
85 * @tests java.util.Collections#rotate(java.util.List, int)
89 Collections.rotate(new ArrayList<Object>(), 25);
99 Collections.rotate(list, Integer.MIN_VALUE)
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
TestResultRepo.java 27 import java.util.Collections;
51 Collections.addAll(resultList, resultArray);
52 Collections.sort(resultList, new FileComparator());
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
XmlReport.java 24 import java.util.Collections;
56 Collections.sort(packages, comparator);
74 Collections.sort(classes, comparator);
TextReport.java 22 import java.util.Collections;
35 Collections.sort(packages, comparator);
52 Collections.sort(classes, comparator);
59 Collections.sort(constructors);
65 Collections.sort(methods);
  /external/guava/guava/src/com/google/common/collect/
ComparatorOrdering.java 24 import java.util.Collections;
45 return Collections.binarySearch(sortedList, key, comparator);
51 Collections.sort(list, comparator);
  /external/junit/src/org/junit/experimental/max/
MaxCore.java 5 import java.util.Collections;
98 Collections.sort(leaves, fHistory.testComparator());
  /frameworks/base/core/java/android/gesture/
InstanceLearner.java 20 import java.util.Collections;
84 Collections.sort(predictions, sComparator);
  /frameworks/base/core/tests/coretests/src/com/android/internal/util/
PredicatesTest.java 22 import java.util.Collections;
70 Collections.addAll(list, elements);
  /libcore/benchmarks/src/benchmarks/regression/
PriorityQueueBenchmark.java 22 import java.util.Collections;
48 Collections.shuffle(allElements, random);
65 Collections.shuffle(seekElements, random);
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
AsciiHprofWriter.java 23 import java.util.Collections;
56 Collections.sort(samples, SAMPLE_COMPARATOR);
  /libcore/luni/src/test/java/tests/api/java/util/
CollectionsTest.java 22 import java.util.Collections;
265 * java.util.Collections#binarySearch(java.util.List,
270 // java.util.Collections.binarySearch(java.util.List, java.lang.Object)
275 Collections.binarySearch(null, new Object());
281 .get(Collections.binarySearch(ll, ll.get(counter))) == ll
287 * java.util.Collections#binarySearch(java.util.List,
292 // java.util.Collections.binarySearch(java.util.List, java.lang.Object,
300 Collections.binarySearch(null, new Object(), comp);
307 myReversedLinkedList.get(Collections.binarySearch(
323 * java.util.Collections#copy(java.util.List, java.util.List
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
TestFilter.java 23 import java.util.Collections;
120 Collections.sort(filteredTests, new TestIdComparator());
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
DummyMap.java 4 import java.util.Collections;
26 Collections.addAll(this.keys, keys);

Completed in 608 milliseconds

1 2 3 4 5 6 7 8 91011