S - the type of the first argument to the operationT - the type of the second argument to the operation@FunctionalInterface public interface UncheckedBiConsumer<S,T> extends BiConsumer<S,T>
| Modifier and Type | Method and Description |
|---|---|
default void |
accept(S first,
T second) |
void |
acceptThrows(S first,
T second)
The same semantic as
accept(Object, Object), but allowed to throw exceptions. |
static <S,T> UncheckedBiConsumer<S,T> |
uncheck(UncheckedBiConsumer<S,T> c)
A convenience method to construct
UncheckedBiConsumers from lambda syntax. |
andThenvoid acceptThrows(S first, T second) throws Exception
accept(Object, Object), but allowed to throw exceptions.first - the first input argumentsecond - the second input argumentException - the underlying exceptionstatic <S,T> UncheckedBiConsumer<S,T> uncheck(UncheckedBiConsumer<S,T> c)
UncheckedBiConsumers from lambda syntax.S - the type of the first argumentT - the type of the second argumentc - an arity-2 lambda functionCopyright © 2013–2016 DuraSpace, Inc.. All rights reserved.