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

1 2

  /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 * {@code putIfAbsent}, {@code remove}, and {@code replace} methods.
59 V putIfAbsent(K key, V value);
ConcurrentHashMap.java     [all...]
ConcurrentSkipListMap.java 37 * associated map using {@code put}, {@code putIfAbsent}, 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);
  /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);
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsProvider.java 692 return cache.putIfAbsent(key, cursor.getString(0));
700 cache.putIfAbsent(key, null);
    [all...]
  /prebuilts/sdk/tools/lib/
guava-10.0.1.jar 
lint.jar 
lint_api.jar 
lint_checks.jar 
  /prebuilts/misc/common/ecj/
ecj.jar 
  /libcore/benchmarks/libs/
caliper.jar 
  /external/droiddriver/libs/
guava-13.0.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.jdt.core_3.6.2.v_A76_R36x.jar 
  /prebuilts/devtools/tools/lib/
guava-13.0.1.jar 

Completed in 2159 milliseconds

1 2