static <T,U,E extends 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 Exception> 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 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 Exception> 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.
|