Searched defs:putIfAbsent (Results 1 - 6 of 6) sorted by relevance
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ConcurrentMap.java | 25 * methods including {@link #putIfAbsent} inherited from {@link Map} 130 V putIfAbsent(K key, V value); method in interface:ConcurrentMap 282 * && (oldValue = map.putIfAbsent(key, newValue)) == null) 304 && (oldValue = putIfAbsent(key, newValue)) == null) 367 * : map.putIfAbsent(key, newValue) == null) 392 // if putIfAbsent fails, opportunistically use its return value 400 else if ((oldValue = putIfAbsent(key, newValue)) == null) 429 * } else if (map.putIfAbsent(key, value) == null) { 454 // if putIfAbsent fails, opportunistically use its return value 466 if ((oldValue = putIfAbsent(ke [all...] |
H A D | ConcurrentSkipListMap.java | 60 * associated map using {@code put}, {@code putIfAbsent}, or 1925 public V putIfAbsent(K key, V value) { method in class:ConcurrentSkipListMap 2856 public V putIfAbsent(K key, V value) { method in class:ConcurrentSkipListMap.SubMap 2858 return m.putIfAbsent(key, value);
|
H A D | ConcurrentHashMap.java | 988 /** Implementation for put and putIfAbsent */ 1521 public V putIfAbsent(K key, V value) { method in class:ConcurrentHashMap
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Map.java | 743 default V putIfAbsent(K key, V value) { method in interface:Map
|
H A D | Hashtable.java | 900 public synchronized V putIfAbsent(K key, V value) { method in class:Hashtable 901 return Map.super.putIfAbsent(key, value);
|
H A D | Collections.java | 1498 public V putIfAbsent(K key, V value) { method in class:Collections.UnmodifiableMap 2384 public V putIfAbsent(K key, V value) { method in class:Collections.SynchronizedMap 2385 synchronized (mutex) {return m.putIfAbsent(key, value);} 3114 public V putIfAbsent(K key, V value) { method in class:Collections.CheckedMap 3116 return m.putIfAbsent(key, value); 3803 public V putIfAbsent(K key, V value) { method in class:Collections.EmptyMap 4118 public V putIfAbsent(K key, V value) { method in class:Collections.SingletonMap
|
Completed in 364 milliseconds