Uses of Interface
org.bytemechanics.config.manager.internal.commons.functional.LambdaUnchecker.RunnableWithExceptions
Package | Description |
---|---|
org.bytemechanics.config.manager.internal.commons.functional |
-
Uses of LambdaUnchecker.RunnableWithExceptions in org.bytemechanics.config.manager.internal.commons.functional
Methods in org.bytemechanics.config.manager.internal.commons.functional with parameters of type LambdaUnchecker.RunnableWithExceptions Modifier and Type Method Description static void
LambdaUnchecker. silencedRun(LambdaUnchecker.RunnableWithExceptions _runnable)
Run Runnable but silencing any exception Example:silencedGet(() -> new StringJoiner(new String(new byte[]{77, 97, 114, 107}, "UTF-8")))
static java.lang.Runnable
LambdaUnchecker. silencedRunnable(LambdaUnchecker.RunnableWithExceptions _runnable)
Wraps Runnable lambda returning the same one but returning null when exception and silencing the exception Example:silencedSupplier(() -> new StringJoiner(new String(new byte[]{77, 97, 114, 107}, "UTF-8"))),
static void
LambdaUnchecker. uncheckedRun(LambdaUnchecker.RunnableWithExceptions _runnable)
Run Runnable but hacking the compiler to avoid compilation check.static java.lang.Runnable
LambdaUnchecker. uncheckedRunnable(LambdaUnchecker.RunnableWithExceptions _runnable)
Wraps Runnable lambda returning the same one but hacking the compiler to avoid compilation check.