Uses of Interface
ru.progrm_jarvis.javacommons.util.function.ThrowingRunnable
Packages that use ThrowingRunnable
Package
Description
Helpers and sum-types for
most generic purposes.Common functional interfaces extending behaviour of
java.util.function.-
Uses of ThrowingRunnable in ru.progrm_jarvis.javacommons.object
Methods in ru.progrm_jarvis.javacommons.object with parameters of type ThrowingRunnableModifier and TypeMethodDescriptionResult.tryRun(@NonNull ThrowingRunnable<? extends X> runnable, @NonNull Class<? super X> throwableType) Creates a result by running the specified runnable.Result.tryRun(@NonNull ThrowingRunnable<? extends X> runnable, @Nullable X @NonNull ... throwableTypeHint) Creates a result by running the specified runnable.Result.tryRunCatchAny(@NonNull ThrowingRunnable<? extends Throwable> runnable) Creates a result by running the specified runnable. -
Uses of ThrowingRunnable in ru.progrm_jarvis.javacommons.util.function
Methods in ru.progrm_jarvis.javacommons.util.function that return ThrowingRunnableModifier and TypeMethodDescriptionstatic <@Any X extends Throwable>
@NotNull ThrowingRunnable<X>ThrowingRunnable.empty()Creates an empty (no-op) throwing runnable.static <@Any X extends Throwable>
@NotNull ThrowingRunnable<X>Creates a throwing runnable which always throws an exception produced by using the factory.