Home
last modified time | relevance | path

Searched refs:BiConsumer (Results 1 – 25 of 54) sorted by relevance

123

/libcore/test-rules/src/main/java/libcore/junit/util/
DResourceLeakageDetector.java23 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/
DBiConsumerTest.java21 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/
DBiConsumer.java45 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/
DCompletionStage.java38 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()
DConcurrentMap.java40 import java.util.function.BiConsumer;
112 default void forEach(BiConsumer<? super K, ? super V> action) { in forEach()
DCompletableFuture.java39 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/
DCollector.java31 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()
DCollectors.java49 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 …]
DStream.java39 import java.util.function.BiConsumer;
752 BiConsumer<R, ? super T> accumulator, in collect()
753 BiConsumer<R, R> combiner); in collect()
DDoubleStream.java39 import java.util.function.BiConsumer;
455 BiConsumer<R, R> combiner); in collect()
DIntStream.java35 import java.util.function.BiConsumer;
447 BiConsumer<R, R> combiner); in collect()
DLongStream.java40 import java.util.function.BiConsumer;
452 BiConsumer<R, R> combiner); in collect()
DReduceOps.java34 import java.util.function.BiConsumer;
158 BiConsumer<I, ? super T> accumulator = collector.accumulator();
206 BiConsumer<R, ? super T> accumulator,
207 BiConsumer<R,R> reducer) {
DReferencePipeline.java33 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) {
DDoublePipeline.java33 import java.util.function.BiConsumer;
487 BiConsumer<R, R> combiner) {
DIntPipeline.java34 import java.util.function.BiConsumer;
484 BiConsumer<R, R> combiner) {
DLongPipeline.java34 import java.util.function.BiConsumer;
466 BiConsumer<R, R> combiner) {
/libcore/dalvik/test-rules/src/main/java/libcore/dalvik/system/
DCloseGuardSupport.java25 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/
DFindAnyOpTest.java34 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/
DCompletableFuture.annotated.java94 …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/
DLinkedHashMap.annotated.java62 public void forEach(java.util.function.BiConsumer<? super K,? super V> action) { throw new RuntimeE… in forEach()
/libcore/ojluni/src/main/java/java/util/
DMap.java28 import java.util.function.BiConsumer;
618 default void forEach(BiConsumer<? super K, ? super V> action) { in forEach()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DWeakHashMap.annotated.java67 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/
DLambdaTestHelpers.java26 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/
DLambdaTestHelpers.java27 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); };

123