/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) {
|
/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/junit/src/main/java/org/junit/validator/ |
AnnotationValidatorFactory.java | 35 VALIDATORS_FOR_ANNOTATION_TYPES.putIfAbsent(validateWithAnnotation, annotationValidator);
|
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/ |
MockMethodDispatcher.java | 25 INSTANCE.putIfAbsent(identifier, dispatcher);
|
/frameworks/support/app-toolkit/common/src/main/java/androidx/arch/core/internal/ |
FastSafeIterableMap.java | 45 public V putIfAbsent(@NonNull K key, @NonNull V v) {
|
SafeIterableMap.java | 64 public V putIfAbsent(@NonNull K key, @NonNull V v) {
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
TemperatureCollector.java | 101 mMaxDeviceTemps.putIfAbsent(device, temp); 102 mMinDeviceTemps.putIfAbsent(device, temp);
|
/external/dexmaker/dexmaker-mockito-inline-dispatcher/src/main/java/com/android/dx/mockito/inline/ |
MockMethodDispatcher.java | 70 INSTANCE.putIfAbsent(identifier, new MockMethodDispatcher(advice));
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
ConcurrentMap.java | 54 * methods including {@link #putIfAbsent} inherited from {@link Map} 159 V putIfAbsent(K key, V value); 311 * && (oldValue = map.putIfAbsent(key, newValue)) == null) 333 && (oldValue = putIfAbsent(key, newValue)) == null) 396 * : map.putIfAbsent(key, newValue) == null) 421 // if putIfAbsent fails, opportunistically use its return value 429 else if ((oldValue = putIfAbsent(key, newValue)) == null) 458 * } else if (map.putIfAbsent(key, value) == null) { 483 // if putIfAbsent fails, opportunistically use its return value 495 if ((oldValue = putIfAbsent(key, value)) == null [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) {
|
/libcore/ojluni/src/main/java/java/util/ |
Map.java | [all...] |
/external/jmdns/src/javax/jmdns/impl/ |
DNSTaskStarter.java | 130 _instances.putIfAbsent(jmDNSImpl, newDNSTaskStarter(jmDNSImpl));
|
DNSStatefulObject.java | 61 _semaphores.putIfAbsent(thread, semaphore);
|
/external/junit/src/main/java/org/junit/runners/ |
BlockJUnit4ClassRunner.java | 98 methodDescriptions.putIfAbsent(method, description);
|
/libcore/ojluni/src/main/java/java/time/ |
ZoneOffset.java | 416 SECONDS_CACHE.putIfAbsent(totalSecs, result); 418 ID_CACHE.putIfAbsent(result.getId(), result); [all...] |
/libcore/ojluni/src/main/java/java/time/format/ |
DateTimeTextProvider.java | 314 CACHE.putIfAbsent(key, store);
|
DecimalStyle.java | 159 CACHE.putIfAbsent(locale, info);
|
/libcore/ojluni/src/main/java/java/util/stream/ |
StreamOpFlag.java | 414 map.putIfAbsent(t, 0b00);
|
/libcore/ojluni/src/main/java/sun/security/util/ |
DisabledAlgorithmConstraints.java | 264 constraintsMap.putIfAbsent( 306 constraintsMap.putIfAbsent(algorithm,
|
/packages/apps/Messaging/src/com/android/messaging/ |
FactoryImpl.java | 211 sPhoneUtilsInstanceCacheLMR1.putIfAbsent(subId, instance);
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
ConcurrentHashMapTest.java | 148 assertTrue(m.putIfAbsent(bis, true) == null); 150 if (m.putIfAbsent(bss, true) == null) 430 * putIfAbsent works when the given key is not present 434 map.putIfAbsent(six, "Z"); 439 * putIfAbsent does not add the pair if the key is already present 443 assertEquals("A", map.putIfAbsent(one, "Z")); 667 * putIfAbsent(null, x) throws NPE 672 c.putIfAbsent(null, "whatever"); 700 * putIfAbsent(x, null) throws NPE 705 c.putIfAbsent("whatever", null) [all...] |
/external/guava/guava-testlib/src/com/google/common/testing/ |
NullPointerTester.java | 269 map.putIfAbsent(new Signature(method), method);
|
/external/guava/guava-tests/test/com/google/common/cache/ |
LocalLoadingCacheTest.java | 158 assertNull(map.putIfAbsent(two, three)); 248 assertSame(two, map.putIfAbsent(one, three)); 250 assertNull(map.putIfAbsent(three, one));
|