I
- the type of the input to the functionT
- the type of Throwable thrown@FunctionalInterface public interface ThrowingBiConsumer<I,J,T extends Throwable>
ThrowingBiConsumer
is expected
to operate via side-effects.
This is a functional interface
whose functional method is accept(Object, Object)
.
Modifier and Type | Method and Description |
---|---|
void |
accept(I in,
J i2)
Performs this operation on the given arguments.
|
static <I,J,T extends Throwable> |
asConsumer(ThrowingBiConsumer<I,J,T> function) |
static <I,J,T extends Throwable> BiConsumer<I,J> asConsumer(@NotNull ThrowingBiConsumer<I,J,T> function)
void accept(I in, J i2) throws T extends Throwable, IORuntimeException
in
- the first input argumenti2
- the second input argumentT extends Throwable
IORuntimeException
Copyright © 2018. All rights reserved.