-
Methods in org.bytemechanics.config.manager.internal.commons.functional with parameters of type LambdaUnchecker.BiConsumerWithExceptions
Modifier and Type |
Method |
Description |
static <T,
U,
E extends java.lang.Exception> void |
LambdaUnchecker.silencedAccept(LambdaUnchecker.BiConsumerWithExceptions<T,U,E> _biConsumer,
T _firstInput,
U _secondInput) |
Accept consumer input but silencing the exception
Example:
silencedAccept((name,value) -> System.out.println(Class.forName(name)+value));
|
static <T,
U,
E extends java.lang.Exception> java.util.function.BiConsumer<T,U> |
LambdaUnchecker.silencedBiConsumer(LambdaUnchecker.BiConsumerWithExceptions<T,U,E> _biConsumer) |
Wraps biconsumer lambda returning the same one but returning null when exception and silencing the exception
Example:
.forEach(silencedBiConsumer((name,value) -> System.out.println(Class.forName(name)+value)));
|
static <T,
U,
E extends java.lang.Exception> void |
LambdaUnchecker.uncheckedAccept(LambdaUnchecker.BiConsumerWithExceptions<T,U,E> _biConsumer,
T _firstInput,
U _secondInput) |
Accept consumer input but hacking the compiler to avoid compilation check.
|
static <T,
U,
E extends java.lang.Exception> java.util.function.BiConsumer<T,U> |
LambdaUnchecker.uncheckedBiConsumer(LambdaUnchecker.BiConsumerWithExceptions<T,U,E> _biConsumer) |
Wraps biconsumer lambda returning the same one but hacking the compiler to avoid compilation check.
|