/libcore/luni/src/test/java/libcore/java/util/function/ |
D | BiFunctionTest.java | 21 import java.util.function.BiFunction; 27 BiFunction<Integer, Integer, Integer> add = (x, y) -> x + y; in testAndThen() 33 BiFunction<Integer, Integer, Integer> add = (x, y) -> x + y; in testAndThen_nullFunction() 41 BiFunction<Integer, Integer, Integer> toNull = (x, y) -> null; in testAndThen_nullResult()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | CompletionStage.java | 10 import java.util.function.BiFunction; 281 BiFunction<? super T,? super U,? extends V> fn); in thenCombine() 301 BiFunction<? super T,? super U,? extends V> fn); in thenCombineAsync() 322 BiFunction<? super T,? super U,? extends V> fn, in thenCombineAsync() 688 (BiFunction<? super T, Throwable, ? extends U> fn); in handle() 707 (BiFunction<? super T, Throwable, ? extends U> fn); in handleAsync() 727 (BiFunction<? super T, Throwable, ? extends U> fn, in handleAsync()
|
D | ConcurrentMap.java | 12 import java.util.function.BiFunction; 258 default void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll() 341 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() 389 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() 449 BiFunction<? super V, ? super V, ? extends V> remappingFunction) { in merge()
|
D | ConcurrentHashMap.java | 28 import java.util.function.BiFunction; 1589 public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll() 1774 …public V computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() 1867 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() 1996 … public V merge(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction) { in merge() 3705 BiFunction<? super K, ? super V, ? extends U> transformer, in forEach() 3731 BiFunction<? super K, ? super V, ? extends U> searchFunction) { in search() 3755 BiFunction<? super K, ? super V, ? extends U> transformer, in reduce() 3756 BiFunction<? super U, ? super U, ? extends U> reducer) { in reduce() 3917 BiFunction<? super K, ? super K, ? extends K> reducer) { in reduceKeys() [all …]
|
D | CompletableFuture.java | 11 import java.util.function.BiFunction; 769 BiFunction<? super T, Throwable, ? extends V> fn; 772 BiFunction<? super T, Throwable, ? extends V> fn) { in UniHandle() 786 BiFunction<? super S, Throwable, ? extends T> f, in uniHandle() 812 Executor e, BiFunction<? super T, Throwable, ? extends V> f) { in uniHandleStage() 1065 BiFunction<? super T,? super U,? extends V> fn; 1068 BiFunction<? super T,? super U,? extends V> fn) { in BiApply() 1085 BiFunction<? super R,? super S,? extends T> f, in biApply() 1121 BiFunction<? super T,? super U,? extends V> f) { in biApplyStage() 2021 BiFunction<? super T,? super U,? extends V> fn) { in thenCombine() [all …]
|
D | ConcurrentSkipListMap.java | 27 import java.util.function.BiFunction; 1667 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() 1700 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() 1740 BiFunction<? super V, ? super V, ? extends V> remappingFunction) { in merge() 3210 public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll()
|
/libcore/ojluni/src/main/java/java/util/function/ |
D | BiFunction.java | 44 public interface BiFunction<T, U, R> { interface 68 default <V> BiFunction<T, U, V> andThen(Function<? super R, ? extends V> after) { in andThen()
|
D | BinaryOperator.java | 46 public interface BinaryOperator<T> extends BiFunction<T,T,T> {
|
/libcore/ojluni/src/main/java/java/util/ |
D | Map.java | 29 import java.util.function.BiFunction; 675 default void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll() 1046 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in computeIfPresent() 1138 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { in compute() 1236 BiFunction<? super V, ? super V, ? extends V> remappingFunction) { in merge()
|
D | Collections.java | 34 import java.util.function.BiFunction; 1493 public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { 1524 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) { 2380 public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { 2406 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { 2411 BiFunction<? super K, ? super V, ? extends V> remappingFunction) { 2416 BiFunction<? super V, ? super V, ? extends V> remappingFunction) { 3029 private BiFunction<? super K, ? super V, ? extends V> typeCheck( [all …]
|
D | LinkedHashMap.java | 32 import java.util.function.BiFunction; 553 public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll()
|
D | Hashtable.java | 31 import java.util.function.BiFunction; 872 public synchronized void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll() 926 public synchronized V computeIfPresent(K key, BiFunction<? super K, in computeIfPresent() 932 public synchronized V compute(K key, BiFunction<? super K, ? super V, in compute() 938 public synchronized V merge(K key, V value, BiFunction<? super V, ? super V, in merge()
|
D | WeakHashMap.java | 31 import java.util.function.BiFunction; 1013 public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll()
|
D | IdentityHashMap.java | 31 import java.util.function.BiFunction; 1365 public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll()
|
D | HashMap.java | 30 import java.util.function.BiFunction; 1371 public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | HashMapTest.java | 86 map.replaceAll(new java.util.function.BiFunction<String, String, String>() { in test_replaceAll()
|
D | WeakHashMapTest.java | 41 map.replaceAll(new java.util.function.BiFunction<Data, String, String>() { in test_replaceAll()
|
D | HashtableTest.java | 86 ht.replaceAll(new java.util.function.BiFunction<String, String, String>() { in test_replaceAll()
|
D | LinkedHashMapTest.java | 252 map.replaceAll(new java.util.function.BiFunction<String, String, String>() { in test_replaceAll()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Stream.java | 38 import java.util.function.BiFunction; 694 BiFunction<U, ? super T, U> accumulator, in reduce()
|
D | ReduceOps.java | 35 import java.util.function.BiFunction; 69 makeRef(U seed, BiFunction<U, ? super T, U> reducer, BinaryOperator<U> combiner) { in makeRef()
|
D | ReferencePipeline.java | 34 import java.util.function.BiFunction; 484 …public final <R> R reduce(R identity, BiFunction<R, ? super P_OUT, R> accumulator, BinaryOperator<…
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | SortedOpTest.java | 36 import java.util.function.BiFunction; 366 …<T, S extends BaseStream<T, S>, R> S assertNCallsOnly(S s, BiFunction<S, Consumer<T>, S> pf, int n… in assertNCallsOnly()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CompletableFutureTest.java | 40 import java.util.function.BiFunction; 448 implements BiFunction<Integer, Integer, Integer> 508 implements BiFunction<Integer, Integer, Integer> 602 BiFunction<? super T,Throwable,? extends U> a) { 623 BiFunction<? super T,? super U,? extends V> a) { 676 BiFunction<? super T,Throwable,? extends U> a) { 697 BiFunction<? super T,? super U,? extends V> a) { 749 BiFunction<? super T,Throwable,? extends U> a) { 770 BiFunction<? super T,? super U,? extends V> a) { 807 BiFunction<? super T,Throwable,? extends U> a); [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | IdentityHashMapTest.java | 39 import java.util.function.BiFunction; 1076 map.replaceAll(new BiFunction<String, String, String>() { in test_replaceAll()
|