Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/concurrent/
DConcurrentMap.java341 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() argument
342 Objects.requireNonNull(remappingFunction); in computeIfPresent()
344 V newValue = remappingFunction.apply(key, oldValue); in computeIfPresent()
389 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() argument
394 V newValue = remappingFunction.apply(key, oldValue); in compute()
449 BiFunction<? super V, ? super V, ? extends V> remappingFunction) { in merge() argument
450 Objects.requireNonNull(remappingFunction); in merge()
457 V newValue = remappingFunction.apply(oldValue, value); in merge()
DConcurrentSkipListMap.java1667 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() argument
1668 if (key == null || remappingFunction == null) in computeIfPresent()
1674 V r = remappingFunction.apply(key, vv); in computeIfPresent()
1700 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() argument
1701 if (key == null || remappingFunction == null) in compute()
1706 if ((r = remappingFunction.apply(key, null)) == null) in compute()
1713 if ((r = remappingFunction.apply(key, vv)) != null) { in compute()
1740 BiFunction<? super V, ? super V, ? extends V> remappingFunction) { in merge() argument
1741 if (key == null || value == null || remappingFunction == null) in merge()
1751 if ((r = remappingFunction.apply(vv, value)) != null) { in merge()
DConcurrentHashMap.java1774 …public V computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() argument
1775 if (key == null || remappingFunction == null) in computeIfPresent()
1799 val = remappingFunction.apply(key, e.val); in computeIfPresent()
1823 val = remappingFunction.apply(key, p.val); in computeIfPresent()
1867 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() argument
1868 if (key == null || remappingFunction == null) in compute()
1885 if ((val = remappingFunction.apply(key, null)) != null) { in compute()
1909 val = remappingFunction.apply(key, e.val); in compute()
1924 val = remappingFunction.apply(key, null); in compute()
1945 val = remappingFunction.apply(key, pv); in compute()
[all …]
/libcore/ojluni/src/main/java/java/util/
DMap.java1046 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() argument
1047 Objects.requireNonNull(remappingFunction); in computeIfPresent()
1050 V newValue = remappingFunction.apply(key, oldValue); in computeIfPresent()
1138 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() argument
1139 Objects.requireNonNull(remappingFunction); in compute()
1142 V newValue = remappingFunction.apply(key, oldValue); in compute()
1236 BiFunction<? super V, ? super V, ? extends V> remappingFunction) { in merge() argument
1237 Objects.requireNonNull(remappingFunction); in merge()
1241 remappingFunction.apply(oldValue, value); in merge()
DHashtable.java927 ? super V, ? extends V> remappingFunction) { in computeIfPresent() argument
928 return Map.super.computeIfPresent(key, remappingFunction); in computeIfPresent()
933 ? extends V> remappingFunction) { in compute() argument
934 return Map.super.compute(key, remappingFunction); in compute()
939 ? extends V> remappingFunction) { in merge() argument
940 return Map.super.merge(key, value, remappingFunction); in merge()
DCollections.java1524 BiFunction<? super K, ? super V, ? extends V> remappingFunction) {
1530 BiFunction<? super K, ? super V, ? extends V> remappingFunction) {
1536 BiFunction<? super V, ? super V, ? extends V> remappingFunction) {
2406 BiFunction<? super K, ? super V, ? extends V> remappingFunction) {
2407 synchronized (mutex) {return m.computeIfPresent(key, remappingFunction);}
2411 BiFunction<? super K, ? super V, ? extends V> remappingFunction) {
2412 synchronized (mutex) {return m.compute(key, remappingFunction);}
2416 BiFunction<? super V, ? super V, ? extends V> remappingFunction) {
2417 synchronized (mutex) {return m.merge(key, value, remappingFunction);}
3149 BiFunction<? super K, ? super V, ? extends V> remappingFunction) {
[all …]