Home
last modified time | relevance | path

Searched refs:BiFunction (Results 1 – 25 of 30) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/util/function/
DBiFunctionTest.java21 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/
DCompletionStage.java10 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()
DConcurrentMap.java12 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()
DConcurrentHashMap.java28 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 …]
DCompletableFuture.java11 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 …]
DConcurrentSkipListMap.java27 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/
DBiFunction.java44 public interface BiFunction<T, U, R> { interface
68 default <V> BiFunction<T, U, V> andThen(Function<? super R, ? extends V> after) { in andThen()
DBinaryOperator.java46 public interface BinaryOperator<T> extends BiFunction<T,T,T> {
/libcore/ojluni/src/main/java/java/util/
DMap.java29 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()
DCollections.java34 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 …]
DLinkedHashMap.java32 import java.util.function.BiFunction;
553 public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll()
DHashtable.java31 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()
DWeakHashMap.java31 import java.util.function.BiFunction;
1013 public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll()
DIdentityHashMap.java31 import java.util.function.BiFunction;
1365 public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) { in replaceAll()
DHashMap.java30 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/
DHashMapTest.java86 map.replaceAll(new java.util.function.BiFunction<String, String, String>() { in test_replaceAll()
DWeakHashMapTest.java41 map.replaceAll(new java.util.function.BiFunction<Data, String, String>() { in test_replaceAll()
DHashtableTest.java86 ht.replaceAll(new java.util.function.BiFunction<String, String, String>() { in test_replaceAll()
DLinkedHashMapTest.java252 map.replaceAll(new java.util.function.BiFunction<String, String, String>() { in test_replaceAll()
/libcore/ojluni/src/main/java/java/util/stream/
DStream.java38 import java.util.function.BiFunction;
694 BiFunction<U, ? super T, U> accumulator, in reduce()
DReduceOps.java35 import java.util.function.BiFunction;
69 makeRef(U seed, BiFunction<U, ? super T, U> reducer, BinaryOperator<U> combiner) { in makeRef()
DReferencePipeline.java34 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/
DSortedOpTest.java36 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/
DCompletableFutureTest.java40 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/
DIdentityHashMapTest.java39 import java.util.function.BiFunction;
1076 map.replaceAll(new BiFunction<String, String, String>() { in test_replaceAll()

12