/external/guava/guava-tests/test/com/google/common/collect/ |
SynchronizedMapTest.java | 22 import com.google.common.collect.Synchronized.SynchronizedSet; 185 assertTrue(keySet instanceof SynchronizedSet); 186 assertSame(mutex, ((SynchronizedSet<?>) keySet).mutex); 199 assertTrue(entrySet instanceof SynchronizedSet); 200 assertSame(mutex, ((SynchronizedSet<?>) entrySet).mutex);
|
SynchronizedBiMapTest.java | 20 import com.google.common.collect.Synchronized.SynchronizedSet; 89 assertTrue(values instanceof SynchronizedSet); 90 assertSame(mutex, ((SynchronizedSet<?>) values).mutex);
|
SynchronizedSetTest.java | 45 /* Skip this test, as SynchronizedSet is not a public class. */
|
/libcore/luni/src/main/java/java/util/ |
LinkedHashSet.java | 31 * {@link Collections#synchronizedSet(Set)}.
|
Collections.java | 690 return new SynchronizedSet<Map.Entry<K, V>>(m.entrySet(), mutex); 720 return new SynchronizedSet<K>(m.keySet(), mutex); 767 static class SynchronizedSet<E> extends SynchronizedCollection<E> implements Set<E> { 770 SynchronizedSet(Set<E> set) { 774 SynchronizedSet(Set<E> set, Object mutex) { 859 static class SynchronizedSortedSet<E> extends SynchronizedSet<E> implements SortedSet<E> { [all...] |
/external/jmdns/src/javax/jmdns/impl/ |
JmmDNSImpl.java | 67 _networkListeners = Collections.synchronizedSet(new HashSet<NetworkTopologyListener>()); 200 final Set<ServiceInfo> result = Collections.synchronizedSet(new HashSet<ServiceInfo>(_knownMDNS.size())); 403 final Set<ServiceInfo> result = Collections.synchronizedSet(new HashSet<ServiceInfo>(_knownMDNS.size() * 5)); 563 _knownAddresses = Collections.synchronizedSet(new HashSet<InetAddress>());
|
ServiceInfoImpl.java | 201 this._ipv4Addresses = Collections.synchronizedSet(new LinkedHashSet<Inet4Address>()); 202 this._ipv6Addresses = Collections.synchronizedSet(new LinkedHashSet<Inet6Address>()); 211 this._ipv4Addresses = Collections.synchronizedSet(new LinkedHashSet<Inet4Address>()); 212 this._ipv6Addresses = Collections.synchronizedSet(new LinkedHashSet<Inet6Address>()); [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Synchronized.java | 205 return new SynchronizedSet<E>(set, mutex); 208 static class SynchronizedSet<E> 211 SynchronizedSet(Set<E> delegate, @Nullable Object mutex) { 242 static class SynchronizedSortedSet<E> extends SynchronizedSet<E> 835 extends SynchronizedSet<Map.Entry<K, Collection<V>>> {
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Synchronized.java | 192 return new SynchronizedSet<E>(set, mutex); 195 static class SynchronizedSet<E> 198 SynchronizedSet(Set<E> delegate, @Nullable Object mutex) { 229 static class SynchronizedSortedSet<E> extends SynchronizedSet<E> 822 extends SynchronizedSet<Map.Entry<K, Collection<V>>> {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
Collections2Test.java | 152 * @tests java.util.Collections#synchronizedSet(java.util.Set) 157 Collections.synchronizedSet(null); 158 fail("Assert 0: synchronizedSet(set) must throw NPE");
|
CollectionsTest.java | [all...] |
HashtableTest.java | 264 "java.util.Collections$SynchronizedSet", s.getClass().getName()); 422 "java.util.Collections$SynchronizedSet", s.getClass().getName());
|
/external/smack/src/org/jivesoftware/smackx/receipts/ |
DeliveryReceiptManager.java | 58 .synchronizedSet(new HashSet<ReceiptReceivedListener>());
|
/external/smack/src/org/jivesoftware/smackx/ping/ |
PingManager.java | 78 .synchronizedSet(new HashSet<PingFailedListener>());
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldCollectionsTest.java | 181 * java.util.Collections#synchronizedSet(java.util.Set) 186 Collections.synchronizedSet(null); 187 fail("Assert 0: synchronizedSet(set) must throw NPE");
|
/libcore/luni/src/test/java/tests/api/java/util/ |
CollectionsTest.java | [all...] |
HashtableTest.java | 315 // "java.util.Collections$SynchronizedSet", s.getClass().getName()); 475 // "java.util.Collections$SynchronizedSet", s.getClass().getName());
|
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
ProcessErrorsTest.java | 55 Collections.synchronizedSet(new LinkedHashSet<ProcessError>());
|
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/ |
Socks5Proxy.java | 89 private final Set<String> localAddresses = Collections.synchronizedSet(new LinkedHashSet<String>());
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
DownloadManagerBaseTest.java | 70 private Set<Long> downloadIds = Collections.synchronizedSet(new HashSet<Long>());
|
/development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/ |
ImageCache.java | 147 Collections.synchronizedSet(new HashSet<SoftReference<Bitmap>>());
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPTransaction.java | 360 eventListeners = Collections.synchronizedSet(new HashSet<SIPTransactionEventListener>()); [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
DownloadManagerBaseTest.java | 131 private Set<Long> downloadIds = Collections.synchronizedSet(new HashSet<Long>()); [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.preferences_3.3.0.v20100503.jar | |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
SerializationStressTest3.java | 951 Object col = Collections.synchronizedSet(SET); [all...] |