-
@FunctionalInterface() public interface BiConsumer<A, B>
Consumer which accepts two values.
-
-
Method Summary
Modifier and Type Method Description static <V> BiConsumer<V, out Object>intoFuture(SettableFuture<V> fut)Construct consumer which populates a settable future. abstract voidaccept(A a, B b)Consume successful or erroneous result. -
-
Method Detail
-
intoFuture
static <V> BiConsumer<V, out Object> intoFuture(SettableFuture<V> fut)
Construct consumer which populates a settable future.
- Parameters:
fut- future to populate
-
-
-
-