Searched refs:onlyIfAbsent (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | HashMap.java | 94 final V putVal(int hash, K key, V value, boolean onlyIfAbsent, boolean evict) { in putVal() argument
|
/libcore/ojluni/src/main/java/java/util/ |
D | HashMap.java | 630 final V putVal(int hash, K key, V value, boolean onlyIfAbsent, in putVal() argument 660 if (!onlyIfAbsent || oldValue == null) in putVal()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentSkipListMap.java | 596 private V doPut(K key, V value, boolean onlyIfAbsent) { in doPut() argument 649 (onlyIfAbsent || VAL.compareAndSet(n, v, value))) in doPut()
|
D | ConcurrentHashMap.java | 1010 final V putVal(K key, V value, boolean onlyIfAbsent) { in putVal() argument 1024 else if (onlyIfAbsent // check first node without acquiring lock in putVal() 1041 if (!onlyIfAbsent) in putVal() 1058 if (!onlyIfAbsent) in putVal()
|