Uses of Interface
no.digipost.function.ThrowingRunnable
Packages that use ThrowingRunnable
-
Uses of ThrowingRunnable in no.digipost
Methods in no.digipost that return ThrowingRunnableModifier and TypeMethodDescriptionstatic final <T,X extends Throwable>
ThrowingRunnable<X>DiggExceptions.mayThrow(ThrowingRunnable<X> runnable) Convenience to acquire aThrowingRunnable-reference from a lambda expression.Methods in no.digipost with parameters of type ThrowingRunnableModifier and TypeMethodDescriptionstatic final <T,X extends Throwable>
ThrowingRunnable<X>DiggExceptions.mayThrow(ThrowingRunnable<X> runnable) Convenience to acquire aThrowingRunnable-reference from a lambda expression.static voidDiggExceptions.runUnchecked(ThrowingRunnable<? extends Throwable> runnable) Immediatelyrunthe givenrunnable, and if needed, convert any thrown exceptions to unckecked. -
Uses of ThrowingRunnable in no.digipost.util
Methods in no.digipost.util with parameters of type ThrowingRunnableModifier and TypeMethodDescriptionAtMostOne.orElse(ThrowingRunnable<X> handleUnexpectedMultipleElements) How to handle if there actually are multiple elements available when only at most one is expected.