Searched refs:putIfAbsent (Results 1 - 8 of 8) sorted by relevance
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | ConcurrentMap.java | 16 * {@code putIfAbsent}, {@code remove}, and {@code replace} methods. 59 V putIfAbsent(K key, V value); method in interface:ConcurrentMap
|
H A D | ConcurrentSkipListSet.java | 202 return m.putIfAbsent(e, Boolean.TRUE) == null;
|
H A D | ConcurrentSkipListMap.java | 37 * associated map using {@code put}, {@code putIfAbsent}, or 1849 public V putIfAbsent(K key, V value) { method in class:ConcurrentSkipListMap 2760 public V putIfAbsent(K key, V value) { method in class:ConcurrentSkipListMap.SubMap 2762 return m.putIfAbsent(key, value);
|
H A D | ConcurrentHashMap.java | 819 /** Implementation for put and putIfAbsent */ 1338 public V putIfAbsent(K key, V value) { method in class:ConcurrentHashMap
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | ConcurrentHashMapTest.java | 111 assertTrue(m.putIfAbsent(bis, true) == null); 113 if (m.putIfAbsent(bss, true) == null) 345 * putIfAbsent works when the given key is not present 349 map.putIfAbsent(six, "Z"); 354 * putIfAbsent does not add the pair if the key is already present 358 assertEquals("A", map.putIfAbsent(one, "Z")); 542 * putIfAbsent(null, x) throws NPE 547 c.putIfAbsent(null, "whatever"); 575 * putIfAbsent(x, null) throws NPE 580 c.putIfAbsent("whateve [all...] |
H A D | ConcurrentSkipListSubMapTest.java | 260 * putIfAbsent works when the given key is not present 264 map.putIfAbsent(six, "Z"); 269 * putIfAbsent does not add the pair if the key is already present 273 assertEquals("A", map.putIfAbsent(one, "Z")); 533 * putIfAbsent(null, x) throws NPE 538 c.putIfAbsent(null, "whatever"); 934 * putIfAbsent works when the given key is not present 938 map.putIfAbsent(six, "Z"); 943 * putIfAbsent does not add the pair if the key is already present 947 assertEquals("A", map.putIfAbsent(m [all...] |
H A D | ConcurrentSkipListMapTest.java | 345 * putIfAbsent works when the given key is not present 349 map.putIfAbsent(six, "Z"); 354 * putIfAbsent does not add the pair if the key is already present 358 assertEquals("A", map.putIfAbsent(one, "Z")); 722 * putIfAbsent(null, x) throws NPE 727 c.putIfAbsent(null, "whatever");
|
/libcore/benchmarks/libs/ |
H A D | caliper.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/caliper/ com/google/caliper/AllocationMeasurer ... |
Completed in 150 milliseconds