/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
IncludeFinderTest.java | 19 import java.util.Collections; 66 finder.setIncluded("bar", Collections.<String>emptyList(), false); 68 finder.setIncluded("baz", Collections.<String>emptyList(), false); 69 assertEquals(Collections.emptyList(), finder.getIncludedBy("foo")); 98 Collections.sort(includes); 123 Collections.sort(includes);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractImmutableSetTest.java | 33 import java.util.Collections; 63 assertEquals(Collections.<String>emptySet(), set); 69 assertEquals(Collections.singleton("a"), set); 110 assertEquals(Collections.<String>emptySet(), set); 117 assertEquals(Collections.singleton("a"), set); 141 assertEquals(Collections.<String>emptySet(), set); 148 assertEquals(Collections.singleton("a"), set); 154 assertEquals(Collections.singleton("a"), set); 177 assertEquals(Collections.<String>emptySet(), set); 184 assertEquals(Collections.singleton("a"), set) [all...] |
ImmutableSetMultimapTest.java | 32 import java.util.Collections; 217 builder.orderKeysBy(Collections.reverseOrder()); 237 builder.orderValuesBy(Collections.reverseOrder()); 247 assertEquals(Collections.reverseOrder(), 250 assertEquals(Collections.reverseOrder(), 253 assertEquals(Collections.reverseOrder(), 263 builder.orderKeysBy(Collections.reverseOrder()); 264 builder.orderValuesBy(Collections.reverseOrder()); 274 assertEquals(Collections.reverseOrder(), 277 assertEquals(Collections.reverseOrder(), [all...] |
ForwardingQueueTest.java | 30 import java.util.Collections; 151 forward.addAll(Collections.singleton("asdf")); 166 forward.containsAll(Collections.singleton("asdf")); 211 forward.removeAll(Collections.singleton("asdf")); 216 forward.retainAll(Collections.singleton("asdf"));
|
ImmutableClassToInstanceMapTest.java | 30 import java.util.Collections; 74 Map<Class<?>, Object> in = Collections.emptyMap(); 98 Map<Class<? extends Number>, Number> nullKey = Collections.singletonMap( 107 = Collections.singletonMap(Number.class, null); 116 Map<Class<?>, Object> in = Collections.emptyMap();
|
ListsTest.java | 22 import static java.util.Collections.singletonList; 49 import java.util.Collections; 306 assertEquals(Collections.emptyList(), list); 311 assertEquals(Collections.emptyList(), list); 314 assertEquals(Collections.emptyList(), bigger); 327 assertEquals(Collections.emptyList(), list); 330 assertEquals(Collections.emptyList(), bigger); 372 assertEquals(Collections.emptyList(), list); 543 assertEquals(Collections.emptyList(), fromList); 596 assertEquals(Collections.emptyList(), list) [all...] |
ImmutableBiMapTest.java | 42 import java.util.Collections; 220 assertEquals(Collections.<String, Integer>emptyMap(), map); 221 assertEquals(Collections.<Integer, String>emptyMap(), map.inverse()); 250 .putAll(Collections.<String, Integer>emptyMap()) 252 assertEquals(Collections.<String, Integer>emptyMap(), map); 313 builder.putAll(Collections.<String, Integer>singletonMap(null, 1)); 322 builder.putAll(Collections.<String, Integer>singletonMap("one", null)); 416 = ImmutableBiMap.copyOf(Collections.<String, Integer>emptyMap()); 417 assertEquals(Collections.<String, Integer>emptyMap(), copy); 424 = ImmutableBiMap.copyOf(Collections.singletonMap("one", 1)) [all...] |
/frameworks/base/docs/html/sdk/api_diff/9/changes/ |
java.util.Collections.html | 10 java.util.Collections 74 Class java.util.<A HREF="../../../../reference/java/util/Collections.html" target="_top"><font size="+2"><code>Collections</code></font></A> 86 <A NAME="java.util.Collections.asLifoQueue_added(java.util.Deque<T>)"></A> 87 <nobr><code>Queue<T></code> <A HREF="../../../../reference/java/util/Collections.html#asLifoQueue(java.util.Deque<T>)" target="_top"><code>asLifoQueue</code></A>(<code>Deque<T></code>)</nobr> 93 <A NAME="java.util.Collections.newSetFromMap_added(java.util.Map<E, java.lang.Boolean>)"></A> 94 <nobr><code>Set<E></code> <A HREF="../../../../reference/java/util/Collections.html#newSetFromMap(java.util.Map<E, java.lang.Boolean>)" target="_top"><code>newSetFromMap</code></A>(<code>Map<E,</nobr> Boolean><nobr><nobr></code>)</nobr>
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Collections/ |
HashList.cs | 35 namespace Antlr.Runtime.Collections 38 using IDictionary = System.Collections.IDictionary; 39 using IDictionaryEnumerator = System.Collections.IDictionaryEnumerator; 40 using ICollection = System.Collections.ICollection; 41 using IEnumerator = System.Collections.IEnumerator; 42 using Hashtable = System.Collections.Hashtable; 43 using ArrayList = System.Collections.ArrayList; 44 using DictionaryEntry = System.Collections.DictionaryEntry; 475 IEnumerator System.Collections.IEnumerable.GetEnumerator()
|
/external/guava/guava-tests/test/com/google/common/hash/ |
HashingTest.java | 25 import java.util.Collections; 116 Hashing.combineOrdered(Collections.<HashCode>emptySet()); 150 Collections.shuffle(hashCodes, random); 166 Hashing.combineUnordered(Collections.<HashCode>emptySet()); 199 Collections.shuffle(hashCodes);
|
/external/jmdns/src/javax/jmdns/impl/ |
DNSMessage.java | 8 import java.util.Collections; 60 _questions = Collections.synchronizedList(new LinkedList<DNSQuestion>()); 61 _answers = Collections.synchronizedList(new LinkedList<DNSRecord>()); 62 _authoritativeAnswers = Collections.synchronizedList(new LinkedList<DNSRecord>()); 63 _additionals = Collections.synchronizedList(new LinkedList<DNSRecord>());
|
/external/smack/src/org/xbill/DNS/ |
OPTRecord.java | 167 return Collections.EMPTY_LIST; 168 return Collections.unmodifiableList(options); 178 return Collections.EMPTY_LIST; 179 List list = Collections.EMPTY_LIST; 183 if (list == Collections.EMPTY_LIST)
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLX509CertPath.java | 29 import java.util.Collections; 65 private static final List<String> ALL_ENCODINGS = Collections.unmodifiableList(Arrays 87 return Collections.unmodifiableList(mCertificates); 160 return new OpenSSLX509CertPath(Collections.<X509Certificate> emptyList()); 178 return new OpenSSLX509CertPath(Collections.<X509Certificate> emptyList());
|
/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());
|
/external/chromium_org/build/android/ |
asan_symbolize.py | 8 import collections namespace 57 libraries = collections.defaultdict(list) 65 all_symbols = collections.defaultdict(dict)
|
/external/chromium_org/build/android/pylib/ |
device_stats_monitor.py | 7 import collections namespace 61 results = collections.defaultdict(list) 105 cpu_stats = collections.namedtuple('CpuStats',
|
/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/ |
ConcurrentHashMap.java | 20 import java.util.Collections; 138 return Collections.enumeration(values()); 142 return Collections.enumeration(keySet());
|
/external/junit/src/junit/framework/ |
TestResult.java | 4 import java.util.Collections; 91 return Collections.enumeration(fErrors); 105 return Collections.enumeration(fFailures);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
SampleToChunkBox.java | 25 import java.util.Collections; 38 List<Entry> entries = Collections.emptyList(); 98 Collections.reverse(sampleToChunkEntries);
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
DefaultPrivateData.java | 23 import java.util.Collections; 107 return Collections.<String>emptyList().iterator(); 109 return Collections.unmodifiableSet(map.keySet()).iterator();
|
/external/smack/src/org/jivesoftware/smackx/workgroup/ext/macros/ |
MacroGroup.java | 24 import java.util.Collections;
53 Collection<Macro> col = Collections.unmodifiableList(macros);
77 Collection<MacroGroup> col = Collections.unmodifiableList(macroGroups);
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/accessibility/ |
AccessibilityManager.java | 25 import java.util.Collections; 109 return Collections.unmodifiableList(services); 116 return Collections.unmodifiableList(services);
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardParser_V30.java | 23 import java.util.Collections; 43 Collections.unmodifiableSet(new HashSet<String>(Arrays.asList( 64 Collections.unmodifiableSet(new HashSet<String>(Arrays.asList(
|
/libcore/benchmarks/src/benchmarks/regression/ |
PriorityQueueBenchmark.java | 22 import java.util.Collections; 48 Collections.shuffle(allElements, random); 65 Collections.shuffle(seekElements, random);
|
/libcore/luni/src/test/java/libcore/java/net/ |
NetworkInterfaceTest.java | 21 import java.util.Collections; 30 Set<InetAddress> actual = new HashSet<InetAddress>(Collections.list(lo.getInetAddresses())); 62 for (NetworkInterface nif : Collections.list(NetworkInterface.getNetworkInterfaces())) {
|