Uses of Interface
no.digipost.function.ThrowingRunnable
-
Packages that use ThrowingRunnable Package Description no.digipost no.digipost.util -
-
Uses of ThrowingRunnable in no.digipost
Methods in no.digipost that return ThrowingRunnable Modifier and Type Method Description static <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 ThrowingRunnable Modifier and Type Method Description static <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 ThrowingRunnable Modifier and Type Method Description <X extends Throwable>
Optional<T>AtMostOne. orElse(ThrowingRunnable<X> handleUnexpectedMultipleElements)How to handle if there actually are multiple elements available when only at most one is expected.
-