Uses of Interface
org.bytemechanics.commons.functional.LambdaUnchecker.RunnableWithExceptions
-
Packages that use LambdaUnchecker.RunnableWithExceptions Package Description org.bytemechanics.commons.functional -
-
Uses of LambdaUnchecker.RunnableWithExceptions in org.bytemechanics.commons.functional
Methods in org.bytemechanics.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 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 Runnable
LambdaUnchecker. uncheckedRunnable(LambdaUnchecker.RunnableWithExceptions _runnable)
Wraps Runnable lambda returning the same one but hacking the compiler to avoid compilation check.
-