/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/ |
EmptyImmutableBiMap.java | 19 import java.util.Collections; 31 super(Collections.emptyMap());
|
EmptyImmutableSet.java | 19 import java.util.Collections; 28 super(Collections.emptySet());
|
SingletonImmutableBiMap.java | 21 import java.util.Collections; 42 super(Collections.singletonMap(checkNotNull(key), checkNotNull(value))); 49 super(Collections.singletonMap(checkNotNull(key), checkNotNull(value)));
|
/external/guava/guava-tests/test/com/google/common/collect/ |
SynchronizedSetTest.java | 31 import java.util.Collections; 52 Collections.addAll(outer, elements);
|
Collections2Test.java | 23 import static java.util.Collections.nCopies; 41 import java.util.Collections; 95 Collections.addAll(unfiltered, elements); 116 Collections.addAll(unfiltered, elements); 137 Collections.addAll(unfiltered, elements); 328 Collections2.permutations(Collections.<Integer>emptyList()); 331 assertTrue(permutationSet.contains(Collections.<Integer> emptyList())); 334 assertNextPermutation(Collections.<Integer> emptyList(), permutations); 340 Collections2.permutations(Collections.<Integer> singletonList(1)) 429 Collections2.permutations(Collections.<Integer>emptyList())) [all...] |
SetsTest.java | 28 import static java.util.Collections.emptySet; 29 import static java.util.Collections.singleton; 61 import java.util.Collections; 109 = Collections.reverseOrder(); 196 Collections.addAll(unfiltered, elements); 345 newEnumSet(Collections.<SomeEnum>emptySet(), SomeEnum.class); 541 Set<SomeEnum> noUnits = Collections.emptySet(); 559 Set<SomeEnum> set = Collections.emptySet(); [all...] |
/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
Collections2Test.java | 28 import java.util.Collections; 52 * java.util.Collections#binarySearch(java.util.List, 59 Collections.sort(lst, null); 60 int index = Collections.binarySearch(lst, new Integer(2), null); 65 * java.util.Collections#binarySearch(java.util.List, 72 assertEquals(-1, Collections.binarySearch(localList, new Object())); 75 Collections.binarySearch(localList, new Integer(1)); 83 * java.util.Collections#rotate(java.util.List, int) 87 Collections.rotate(new ArrayList<Object>(), 25); 97 Collections.rotate(list, Integer.MIN_VALUE) [all...] |
/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...] |
/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/jetty/src/java/org/eclipse/jetty/util/ajax/ |
JSONCollectionConvertor.java | 22 import java.util.Collections; 40 Collections.addAll(result, (Object[])object.get("list"));
|
/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); 73 Collections.sort(classes, comparator);
|
TextReport.java | 22 import java.util.Collections; 36 Collections.sort(packages, comparator); 52 Collections.sort(classes, comparator); 59 Collections.sort(constructors); 65 Collections.sort(methods);
|
/external/junit/src/org/junit/experimental/max/ |
MaxCore.java | 5 import java.util.Collections; 98 Collections.sort(leaves, fHistory.testComparator());
|
/external/okhttp/samples/simple-client/src/main/java/com/squareup/okhttp/sample/ |
OkHttpContributors.java | 9 import java.util.Collections; 41 Collections.sort(contributors, new Comparator<Contributor>() {
|
/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/ |
CollectionsBenchmark.java | 22 import java.util.Collections; 45 Collections.sort(input); 52 Collections.sort(input, REVERSE); 59 Collections.sort(input); 66 Collections.sort(input, REVERSE);
|
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);
|
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/ |
VerticalGridFragment.java | 62 Collections.shuffle(list, new Random(seed));
|