Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentMap.java370 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() argument
371 Objects.requireNonNull(remappingFunction); in computeIfPresent()
373 V newValue = remappingFunction.apply(key, oldValue); in computeIfPresent()
418 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() argument
423 V newValue = remappingFunction.apply(key, oldValue); in compute()
478 BiFunction<? super V, ? super V, ? extends V> remappingFunction) { in merge() argument
479 Objects.requireNonNull(remappingFunction); in merge()
486 V newValue = remappingFunction.apply(oldValue, value); in merge()
DConcurrentSkipListMap.java1696 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() argument
1697 if (key == null || remappingFunction == null) in computeIfPresent()
1703 V r = remappingFunction.apply(key, vv); in computeIfPresent()
1729 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() argument
1730 if (key == null || remappingFunction == null) in compute()
1735 if ((r = remappingFunction.apply(key, null)) == null) in compute()
1742 if ((r = remappingFunction.apply(key, vv)) != null) { in compute()
1769 BiFunction<? super V, ? super V, ? extends V> remappingFunction) { in merge() argument
1770 if (key == null || value == null || remappingFunction == null) in merge()
1780 if ((r = remappingFunction.apply(vv, value)) != null) { in merge()
/libcore/ojluni/src/main/java/java/util/
DMap.java1044 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() argument
1045 Objects.requireNonNull(remappingFunction); in computeIfPresent()
1048 V newValue = remappingFunction.apply(key, oldValue); in computeIfPresent()
1136 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() argument
1137 Objects.requireNonNull(remappingFunction); in compute()
1140 V newValue = remappingFunction.apply(key, oldValue); in compute()
1234 BiFunction<? super V, ? super V, ? extends V> remappingFunction) { in merge() argument
1235 Objects.requireNonNull(remappingFunction); in merge()
1239 remappingFunction.apply(oldValue, value); in merge()
DHashtable.java1025 …onized V computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() argument
1026 Objects.requireNonNull(remappingFunction); in computeIfPresent()
1035 V newValue = remappingFunction.apply(key, e.value); in computeIfPresent()
1054 …ic synchronized V compute(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() argument
1055 Objects.requireNonNull(remappingFunction); in compute()
1064 V newValue = remappingFunction.apply(key, e.value); in compute()
1080 V newValue = remappingFunction.apply(key, null); in compute()
1089 …hronized V merge(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction) { in merge() argument
1090 Objects.requireNonNull(remappingFunction); in merge()
1099 V newValue = remappingFunction.apply(e.value, value); in merge()
DHashMap.java1151 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() argument
1152 if (remappingFunction == null) in computeIfPresent()
1158 V v = remappingFunction.apply(key, oldValue); in computeIfPresent()
1172 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() argument
1173 if (remappingFunction == null) in compute()
1199 V v = remappingFunction.apply(key, oldValue); in compute()
1225 BiFunction<? super V, ? super V, ? extends V> remappingFunction) { in merge() argument
1228 if (remappingFunction == null) in merge()
1256 v = remappingFunction.apply(old.value, value); in merge()
/libcore/ojluni/src/main/java/java/security/
DProvider.java514 BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) { in compute() argument
521 return implCompute(key, remappingFunction); in compute()
573 …esent(Object key, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) { in computeIfPresent() argument
581 return implComputeIfPresent(key, remappingFunction); in computeIfPresent()
605 …, Object value, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) { in merge() argument
612 return implMerge(key, value, remappingFunction); in merge()
804 …ey, Object value, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) { in implMerge() argument
810 … (BiFunction<? super String, ? super String, ? extends String>) remappingFunction); in implMerge()
812 return super.merge(key, value, remappingFunction); in implMerge()
815 …mpute(Object key, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) { in implCompute() argument
[all …]
/libcore/ojluni/annotations/sdk/nullability/java/util/
DHashMap.annotated.java77 …NullFromTypeParam K,? super @libcore.util.NonNull V,? extends Nu V> remappingFunction) { throw new… in computeIfPresent() argument
79 … super @libcore.util.Nullable V,? extends @libcore.util.Nullable V> remappingFunction) { throw new… in compute() argument
81 …? super @libcore.util.NonNull V,? extends @libcore.util.Nullable V> remappingFunction) { throw new… in merge() argument
DMap.annotated.java78 …? super @libcore.util.NonNull V,? extends @libcore.util.Nullable V> remappingFunction) { throw new… in computeIfPresent() argument
80 … super @libcore.util.Nullable V,? extends @libcore.util.Nullable V> remappingFunction) { throw new… in compute() argument
82 …? super @libcore.util.NonNull V,? extends @libcore.util.Nullable V> remappingFunction) { throw new… in merge() argument
/libcore/ojluni/annotations/mmodule/java/security/
DProvider.annotated.java75 …ion.BiFunction<? super java.lang.Object,? super java.lang.Object,?> remappingFunction) { throw new… in compute() argument
79 …ion.BiFunction<? super java.lang.Object,? super java.lang.Object,?> remappingFunction) { throw new… in computeIfPresent() argument
81 …ion.BiFunction<? super java.lang.Object,? super java.lang.Object,?> remappingFunction) { throw new… in merge() argument
/libcore/ojluni/annotations/hiddenapi/java/util/
DHashMap.java170 java.util.function.BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() argument
176 java.util.function.BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() argument
183 java.util.function.BiFunction<? super V, ? super V, ? extends V> remappingFunction) { in merge() argument
/libcore/ojluni/annotations/sdk/nullability/java/util/concurrent/
DConcurrentHashMap.annotated.java110 …? super @libcore.util.NonNull V,? extends @libcore.util.Nullable V> remappingFunction) { throw new… in computeIfPresent() argument
112 … super @libcore.util.Nullable V,? extends @libcore.util.Nullable V> remappingFunction) { throw new… in compute() argument
114 …? super @libcore.util.NonNull V,? extends @libcore.util.Nullable V> remappingFunction) { throw new… in merge() argument