Home
last modified time | relevance | path

Searched refs:mappingFunction (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentMap.java328 Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument
329 Objects.requireNonNull(mappingFunction); in computeIfAbsent()
332 && (newValue = mappingFunction.apply(key)) != null in computeIfAbsent()
DConcurrentSkipListMap.java1672 Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument
1673 if (key == null || mappingFunction == null) in computeIfAbsent()
1677 (r = mappingFunction.apply(key)) != null) in computeIfAbsent()
/libcore/ojluni/src/main/java/java/util/
DMap.java967 Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument
968 Objects.requireNonNull(mappingFunction); in computeIfAbsent()
972 if ((newValue = mappingFunction.apply(key)) != null) { in computeIfAbsent()
DHashtable.java1001 public synchronized V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument
1002 Objects.requireNonNull(mappingFunction); in computeIfAbsent()
1016 V newValue = mappingFunction.apply(key); in computeIfAbsent()
DHashMap.java1098 Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument
1099 if (mappingFunction == null) in computeIfAbsent()
1129 V v = mappingFunction.apply(key); in computeIfAbsent()
/libcore/ojluni/src/main/java/java/security/
DProvider.java544 …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/
DHashMap.annotated.java75 …libcore.util.NullFromTypeParam K,? extends @libcore.util.Nullable V> mappingFunction) { throw new … in computeIfAbsent() argument
DMap.annotated.java76 …libcore.util.NullFromTypeParam K,? extends @libcore.util.Nullable V> mappingFunction) { throw new … in computeIfAbsent() argument
/libcore/ojluni/annotations/mmodule/java/security/
DProvider.annotated.java77 ….Object key, java.util.function.Function<? super java.lang.Object,?> mappingFunction) { throw new … in computeIfAbsent() argument
/libcore/ojluni/annotations/hiddenapi/java/util/
DHashMap.java164 K key, java.util.function.Function<? super K, ? extends V> mappingFunction) { in computeIfAbsent() argument
/libcore/ojluni/annotations/sdk/nullability/java/util/concurrent/
DConcurrentHashMap.annotated.java108 …<? super @libcore.util.NonNull K,? extends @libcore.util.Nullable V> mappingFunction) { throw new … in computeIfAbsent() argument