List of usage examples for java.util.function BiConsumer interface-usage
From source file at.gridtec.lambda4j.consumer.bi.BiConsumer2.java
/**
* Represents an operation that accepts two input arguments and returns no result.
* Unlike most other functional interfaces, {@code BiConsumer2} is expected to operate via side-effects.
* <p>
* This is a {@link FunctionalInterface} whose functional method is {@link #accept(Object, Object)}.
*
From source file org.apache.trafficcontrol.client.trafficops.ResponseFuture.java
@AutoValue public abstract class ResponseFuture<T extends Response> extends CompletableFuture<T> implements BiConsumer<HttpResponse, Throwable> { public static enum Method { POST, GET }
From source file org.springframework.kafka.listener.DeadLetterPublishingRecoverer.java
/**
* A {@link BiConsumer} that publishes a failed record to a dead-letter topic.
*
* @author Gary Russell
* @since 2.2
*
From source file at.gridtec.lambda4j.consumer.bi.ThrowableBiConsumer.java
/**
* Represents an operation that accepts two input arguments and returns no result which is able to throw any {@link
* Throwable}. Unlike most other functional interfaces, {@code ThrowableBiConsumer} is expected to operate via
* side-effects.
* <p>
* This is a {@link FunctionalInterface} whose functional method is {@link #acceptThrows(Object, Object)}.