Home
last modified time | relevance | path

Searched refs:remappingFunction (Results 1 – 14 of 14) 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()
DConcurrentHashMap.java1804 …public V computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() argument
1805 if (key == null || remappingFunction == null) in computeIfPresent()
1829 val = remappingFunction.apply(key, e.val); in computeIfPresent()
1853 val = remappingFunction.apply(key, p.val); in computeIfPresent()
1897 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() argument
1898 if (key == null || remappingFunction == null) in compute()
1915 if ((val = remappingFunction.apply(key, null)) != null) { in compute()
1939 val = remappingFunction.apply(key, e.val); in compute()
1954 val = remappingFunction.apply(key, null); in compute()
1975 val = remappingFunction.apply(key, pv); in compute()
[all …]
/libcore/ojluni/src/main/java/java/util/
DMap.java1072 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() argument
1073 Objects.requireNonNull(remappingFunction); in computeIfPresent()
1076 V newValue = remappingFunction.apply(key, oldValue); in computeIfPresent()
1164 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() argument
1165 Objects.requireNonNull(remappingFunction); in compute()
1168 V newValue = remappingFunction.apply(key, oldValue); in compute()
1262 BiFunction<? super V, ? super V, ? extends V> remappingFunction) { in merge() argument
1263 Objects.requireNonNull(remappingFunction); in merge()
1267 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()
DCollections.java1587 BiFunction<? super K, ? super V, ? extends V> remappingFunction) {
1593 BiFunction<? super K, ? super V, ? extends V> remappingFunction) {
1599 BiFunction<? super V, ? super V, ? extends V> remappingFunction) {
2727 BiFunction<? super K, ? super V, ? extends V> remappingFunction) {
2728 synchronized (mutex) {return m.computeIfPresent(key, remappingFunction);}
2732 BiFunction<? super K, ? super V, ? extends V> remappingFunction) {
2733 synchronized (mutex) {return m.compute(key, remappingFunction);}
2737 BiFunction<? super V, ? super V, ? extends V> remappingFunction) {
2738 synchronized (mutex) {return m.merge(key, value, remappingFunction);}
3753 BiFunction<? super K, ? super V, ? extends V> remappingFunction) {
[all …]
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 …? super @libcore.util.NonNull V,? extends @libcore.util.Nullable 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/
DCollections.java844 remappingFunction) { in computeIfPresent() argument
851 remappingFunction) { in compute() argument
859 remappingFunction) { in merge() argument
1720 remappingFunction) { in computeIfPresent() argument
1727 remappingFunction) { in compute() argument
1735 remappingFunction) { in merge() argument
2100 remappingFunction) { in computeIfPresent() argument
2107 remappingFunction) { in compute() argument
2115 remappingFunction) { in merge() argument
2482 remappingFunction) { in computeIfPresent() argument
[all …]
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