/external/guava/guava-gwt/src-super/java/util/super/java/util/concurrent/ |
ConcurrentMap.java | 28 V putIfAbsent(K key, V value);
|
ConcurrentHashMap.java | 56 public V putIfAbsent(K key, V value) {
|
/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentMap.java | 16 * <tt>putIfAbsent</tt>, <tt>remove</tt>, and <tt>replace</tt> methods. 59 V putIfAbsent(K key, V value);
|
ConcurrentHashMap.java | [all...] |
ConcurrentSkipListMap.java | 34 * associated map using <tt>put</tt>, <tt>putIfAbsent</tt>, or [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ForwardingConcurrentMap.java | 42 public V putIfAbsent(K key, V value) { 43 return delegate().putIfAbsent(key, value);
|
MapMaker.java | [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
MapMaker.java | 73 public V putIfAbsent(K key, V value) {
|
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
CacheBuilder.java | 234 public V putIfAbsent(K key, V value) {
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
ConcurrentMapInterfaceTest.java | 83 V oldValue = map.putIfAbsent(keyToPut, valueToPut); 91 map.putIfAbsent(keyToPut, valueToPut); 114 assertEquals(oldValue, map.putIfAbsent(keyToPut, valueToPut)); 122 map.putIfAbsent(keyToPut, valueToPut); 146 map.putIfAbsent(null, valueToPut); 153 map.putIfAbsent(null, valueToPut); 180 map.putIfAbsent(keyToPut, null); 187 map.putIfAbsent(keyToPut, null); 214 assertNull(map.putIfAbsent(keyToPut, null)); 220 map.putIfAbsent(keyToPut, null) [all...] |
/external/jmdns/src/javax/jmdns/impl/ |
DNSTaskStarter.java | 130 _instances.putIfAbsent(jmDNSImpl, newDNSTaskStarter(jmDNSImpl));
|
DNSStatefulObject.java | 61 _semaphores.putIfAbsent(thread, semaphore);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
SettingsProvider.java | 382 return cache.putIfAbsent(key, cursor.getString(0)); 390 cache.putIfAbsent(key, null); 763 public Bundle putIfAbsent(String key, String value) { [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
LocalLoadingCacheTest.java | 163 assertNull(map.putIfAbsent(two, three)); 221 assertSame(two, map.putIfAbsent(one, three)); 223 assertNull(map.putIfAbsent(three, one));
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ComputingConcurrentHashMapTest.java | 299 assertNotNull(map.putIfAbsent(one, three)); // force notifications
|
ConcurrentHashMultisetTest.java | 98 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(null); 137 * the putIfAbsent returns a non-null value, and the case where the replace() of an observed 146 // since get returned null, try a putIfAbsent; that fails due to a simulated race 147 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(existingZero); 148 // since the putIfAbsent returned a zero, we'll try to replace... 151 // ...and then putIfAbsent. Simulate failure on both 152 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(existing); 159 expect(backingMap.putIfAbsent(eq(KEY), isA(AtomicInteger.class))).andReturn(existing);
|
/prebuilts/tools/common/guava-tools/ |
guava-10.0.1.jar | |
/prebuilt/common/ecj/ |
ecj.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.jdt.core_3.6.2.v_A76_R36x.jar | |
/prebuilt/common/tradefed/ |
tradefed-prebuilt.jar | |
/prebuilts/sdk/10/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/prebuilts/sdk/16/ |
android.jar | |
/prebuilts/sdk/9/ |
android.jar | |