/libcore/ojluni/src/test/java/util/Map/ |
D | InPlaceOpsCollisions.java | 184 Function<T, T> mappingFunction) { in testComputeIfAbsent() argument 188 T expectedVal = mappingFunction.apply(keys[0]); in testComputeIfAbsent() 193 retVal = map.computeIfAbsent(keys[i], mappingFunction); in testComputeIfAbsent() 242 BiFunction<T, T, T> mappingFunction) { in testComputeIfPresent() argument 247 T funcResult = mappingFunction.apply(keys[0], keys[0]); in testComputeIfPresent() 252 T retVal = map.computeIfPresent(keys[i], mappingFunction); in testComputeIfPresent() 303 BiFunction<IntKey, IntKey, IntKey> mappingFunction = (k, v) -> { in testComputeNonNull() local 312 IntKey retVal = map.compute(keys[i], mappingFunction); in testComputeNonNull() 343 BiFunction<Object, Object, Object> mappingFunction = (k, v) -> { in testComputeNull() local 355 Object retVal = map.compute(keys[i], mappingFunction); in testComputeNull() [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentMap.java | 326 Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 327 Objects.requireNonNull(mappingFunction); in computeIfAbsent() 330 && (newValue = mappingFunction.apply(key)) != null in computeIfAbsent()
|
D | ConcurrentSkipListMap.java | 1457 Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 1458 if (key == null || mappingFunction == null) in computeIfAbsent() 1462 (r = mappingFunction.apply(key)) != null) in computeIfAbsent()
|
D | ConcurrentHashMap.java | 1696 public V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 1697 if (key == null || mappingFunction == null) in computeIfAbsent() 1713 if ((val = mappingFunction.apply(key)) != null) in computeIfAbsent() 1745 if ((val = mappingFunction.apply(key)) != null) { in computeIfAbsent() 1762 else if ((val = mappingFunction.apply(key)) != null) { in computeIfAbsent()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Map.java | 1041 Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 1042 Objects.requireNonNull(mappingFunction); in computeIfAbsent() 1046 if ((newValue = mappingFunction.apply(key)) != null) { in computeIfAbsent()
|
D | Hashtable.java | 1031 public synchronized V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 1032 Objects.requireNonNull(mappingFunction); in computeIfAbsent() 1047 V newValue = mappingFunction.apply(key); in computeIfAbsent()
|
D | Collections.java | 1629 public V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) { 2825 Function<? super K, ? extends V> mappingFunction) { 2826 synchronized (mutex) {return m.computeIfAbsent(key, mappingFunction);} 3873 Function<? super K, ? extends V> mappingFunction) { 3874 Objects.requireNonNull(mappingFunction); 3876 V value = mappingFunction.apply(k); 4846 Function<? super K, ? extends V> mappingFunction) { 5174 Function<? super K, ? extends V> mappingFunction) {
|
D | HashMap.java | 1189 Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 1190 if (mappingFunction == null) in computeIfAbsent() 1221 V v = mappingFunction.apply(key); in computeIfAbsent()
|
/libcore/ojluni/src/main/java/java/security/ |
D | Provider.java | 544 …ed Object computeIfAbsent(Object key, Function<? super Object, ? extends Object> mappingFunction) { in computeIfAbsent() argument 552 return implComputeIfAbsent(key, mappingFunction); in computeIfAbsent() 833 …bject implComputeIfAbsent(Object key, Function<? super Object, ? extends Object> mappingFunction) { in implComputeIfAbsent() argument 839 (Function<? super String, ? extends String>) mappingFunction); in implComputeIfAbsent() 841 return super.computeIfAbsent(key, mappingFunction); in implComputeIfAbsent()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | HashMap.annotated.java | 75 …libcore.util.NullFromTypeParam K,? extends @libcore.util.Nullable V> mappingFunction) { throw new … in computeIfAbsent() argument
|
D | Map.annotated.java | 76 …libcore.util.NullFromTypeParam K,? extends @libcore.util.Nullable V> mappingFunction) { throw new … in computeIfAbsent() argument
|
/libcore/ojluni/annotations/mmodule/java/security/ |
D | Provider.annotated.java | 77 ….Object key, java.util.function.Function<? super java.lang.Object,?> mappingFunction) { throw new … in computeIfAbsent() argument
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Collections.java | 837 K key, java.util.function.Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 1713 K key, java.util.function.Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 2093 K key, java.util.function.Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 2475 K key, java.util.function.Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument 3134 K key, java.util.function.Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument
|
D | HashMap.java | 164 K key, java.util.function.Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument
|
/libcore/ojluni/annotations/sdk/nullability/java/util/concurrent/ |
D | ConcurrentHashMap.annotated.java | 108 …<? super @libcore.util.NonNull K,? extends @libcore.util.Nullable V> mappingFunction) { throw new … in computeIfAbsent() argument
|