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 voidLambdaUnchecker. 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 RunnableLambdaUnchecker. 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 voidLambdaUnchecker. uncheckedRun(LambdaUnchecker.RunnableWithExceptions _runnable)Run Runnable but hacking the compiler to avoid compilation check.static RunnableLambdaUnchecker. uncheckedRunnable(LambdaUnchecker.RunnableWithExceptions _runnable)Wraps Runnable lambda returning the same one but hacking the compiler to avoid compilation check.
-