/libcore/test-rules/src/main/java/libcore/junit/util/ |
D | ResourceLeakageDetector.java | 23 import java.util.function.BiConsumer; 51 private static final BiConsumer<Object, Integer> FINALIZER_CHECKER; 55 BiConsumer<Object, Integer> finalizerChecker; 79 finalizerChecker = new BiConsumer<Object, Integer>() { 92 private static BiConsumer<Object, Integer> getFinalizerChecker(Class<?> closeGuardSupportClass) in getFinalizerChecker() 95 return (BiConsumer<Object, Integer>) method.invoke(null); in getFinalizerChecker()
|
/libcore/luni/src/test/java/libcore/java/util/function/ |
D | BiConsumerTest.java | 21 import java.util.function.BiConsumer; 26 BiConsumer<String, StringBuilder> one = (s, t) -> t.append("one").append(s); in testAndThen() 27 BiConsumer<String, StringBuilder> two = (s, t) -> t.append("two").append(s); in testAndThen() 39 BiConsumer<String, StringBuilder> one = (s, t) -> t.append("one").append(s); in testAndThen_null()
|
/libcore/ojluni/src/main/java/java/util/function/ |
D | BiConsumer.java | 45 public interface BiConsumer<T, U> { interface 67 default BiConsumer<T, U> andThen(BiConsumer<? super T, ? super U> after) { in andThen()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | CompletionStage.java | 38 import java.util.function.BiConsumer; 370 BiConsumer<? super T, ? super U> action); in thenAcceptBoth() 389 BiConsumer<? super T, ? super U> action); in thenAcceptBothAsync() 409 BiConsumer<? super T, ? super U> action, in thenAcceptBothAsync() 782 (BiConsumer<? super T, ? super Throwable> action); in whenComplete() 808 (BiConsumer<? super T, ? super Throwable> action); in whenCompleteAsync() 835 (BiConsumer<? super T, ? super Throwable> action, in whenCompleteAsync()
|
D | ConcurrentMap.java | 40 import java.util.function.BiConsumer; 112 default void forEach(BiConsumer<? super K, ? super V> action) { in forEach()
|
D | CompletableFuture.java | 39 import java.util.function.BiConsumer; 737 BiConsumer<? super T, ? super Throwable> fn; 740 BiConsumer<? super T, ? super Throwable> fn) { in UniWhenComplete() 754 BiConsumer<? super T,? super Throwable> f, in uniWhenComplete() 787 Executor e, BiConsumer<? super T, ? super Throwable> f) { in uniWhenCompleteStage() 1167 BiConsumer<? super T,? super U> fn; 1170 BiConsumer<? super T,? super U> fn) { in BiAccept() 1187 BiConsumer<? super R,? super S> f, in biAccept() 1224 BiConsumer<? super T,? super U> f) { in biAcceptStage() 2070 BiConsumer<? super T, ? super U> action) { in thenAcceptBoth() [all …]
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Collector.java | 31 import java.util.function.BiConsumer; 210 BiConsumer<A, T> accumulator(); in accumulator() 261 BiConsumer<R, T> accumulator, in of() 292 BiConsumer<A, T> accumulator, in of()
|
D | Collectors.java | 49 import java.util.function.BiConsumer; 149 private final BiConsumer<A, T> accumulator; 155 BiConsumer<A, T> accumulator, in CollectorImpl() 167 BiConsumer<A, T> accumulator, in CollectorImpl() 174 public BiConsumer<A, T> accumulator() { in accumulator() 353 BiConsumer<A, ? super U> downstreamAccumulator = downstream.accumulator(); 905 BiConsumer<A, ? super T> downstreamAccumulator = downstream.accumulator(); 906 BiConsumer<Map<K, A>, T> accumulator = (m, t) -> { 1056 BiConsumer<A, ? super T> downstreamAccumulator = downstream.accumulator(); 1060 BiConsumer<ConcurrentMap<K, A>, T> accumulator; [all …]
|
D | Stream.java | 39 import java.util.function.BiConsumer; 752 BiConsumer<R, ? super T> accumulator, in collect() 753 BiConsumer<R, R> combiner); in collect()
|
D | DoubleStream.java | 39 import java.util.function.BiConsumer; 455 BiConsumer<R, R> combiner); in collect()
|
D | IntStream.java | 35 import java.util.function.BiConsumer; 447 BiConsumer<R, R> combiner); in collect()
|
D | LongStream.java | 40 import java.util.function.BiConsumer; 452 BiConsumer<R, R> combiner); in collect()
|
D | ReduceOps.java | 34 import java.util.function.BiConsumer; 158 BiConsumer<I, ? super T> accumulator = collector.accumulator(); 206 BiConsumer<R, ? super T> accumulator, 207 BiConsumer<R,R> reducer) {
|
D | ReferencePipeline.java | 33 import java.util.function.BiConsumer; 513 BiConsumer<A, ? super P_OUT> accumulator = collector.accumulator(); 526 BiConsumer<R, ? super P_OUT> accumulator, 527 BiConsumer<R, R> combiner) {
|
D | DoublePipeline.java | 33 import java.util.function.BiConsumer; 487 BiConsumer<R, R> combiner) {
|
D | IntPipeline.java | 34 import java.util.function.BiConsumer; 484 BiConsumer<R, R> combiner) {
|
D | LongPipeline.java | 34 import java.util.function.BiConsumer; 466 BiConsumer<R, R> combiner) {
|
/libcore/dalvik/test-rules/src/main/java/libcore/dalvik/system/ |
D | CloseGuardSupport.java | 25 import java.util.function.BiConsumer; 184 private static final BiConsumer<Object, Integer> FINALIZER_CHECKER 185 = new BiConsumer<Object, Integer>() { 201 public static BiConsumer<Object, Integer> getFinalizerChecker() {
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | FindAnyOpTest.java | 34 import java.util.function.BiConsumer; 162 …static final BiConsumer<Optional<Integer>, Optional<Integer>> VALID_ANSWER = (a, b) -> assertEqual… 164 …static final BiConsumer<OptionalInt, OptionalInt> INT_VALID_ANSWER = (a, b) -> assertEquals(a.isPr… 166 …static final BiConsumer<OptionalLong, OptionalLong> LONG_VALID_ANSWER = (a, b) -> assertEquals(a.i… 168 …static final BiConsumer<OptionalDouble, OptionalDouble> DOUBLE_VALID_ANSWER = (a, b) -> assertEqua…
|
/libcore/ojluni/annotations/mmodule/java/util/concurrent/ |
D | CompletableFuture.annotated.java | 94 …util.concurrent.CompletionStage<? extends U> other, java.util.function.BiConsumer<? super T,? supe… in thenAcceptBoth() 96 …util.concurrent.CompletionStage<? extends U> other, java.util.function.BiConsumer<? super T,? supe… in thenAcceptBothAsync() 98 …util.concurrent.CompletionStage<? extends U> other, java.util.function.BiConsumer<? super T,? supe… in thenAcceptBothAsync() 130 public java.util.concurrent.CompletableFuture<T> whenComplete(java.util.function.BiConsumer<? super… in whenComplete() 132 public java.util.concurrent.CompletableFuture<T> whenCompleteAsync(java.util.function.BiConsumer<? … in whenCompleteAsync() 134 public java.util.concurrent.CompletableFuture<T> whenCompleteAsync(java.util.function.BiConsumer<? … in whenCompleteAsync()
|
/libcore/ojluni/annotations/mmodule/java/util/ |
D | LinkedHashMap.annotated.java | 62 public void forEach(java.util.function.BiConsumer<? super K,? super V> action) { throw new RuntimeE… in forEach()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Map.java | 28 import java.util.function.BiConsumer; 618 default void forEach(BiConsumer<? super K, ? super V> action) { in forEach()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | WeakHashMap.annotated.java | 67 public void forEach(@libcore.util.NonNull java.util.function.BiConsumer<? super @libcore.util.NullF… in forEach()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | LambdaTestHelpers.java | 26 import java.util.function.BiConsumer; 62 public static final BiConsumer bBiEmpty = (x,y) -> { }; 66 public static final BiConsumer bBiHashCode = (x,y) -> { Objects.hash(x, y); };
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | LambdaTestHelpers.java | 27 import java.util.function.BiConsumer; 63 public static final BiConsumer bBiEmpty = (x,y) -> { }; 67 public static final BiConsumer bBiHashCode = (x,y) -> { Objects.hash(x, y); };
|