Uses of Interface
ru.progrm_jarvis.javacommons.util.function.ThrowingSupplier
Packages that use ThrowingSupplier
Package
Description
Helpers and sum-types for
most generic purposes.Common functional interfaces extending behaviour of
java.util.function.-
Uses of ThrowingSupplier in ru.progrm_jarvis.javacommons.object
Methods in ru.progrm_jarvis.javacommons.object with parameters of type ThrowingSupplierModifier and TypeMethodDescriptionResult.tryGet(@NonNull ThrowingSupplier<? extends T, ? extends X> supplier, @NonNull Class<? super X> throwableType) Creates a result by getting the value of the specified supplier.Result.tryGet(@NonNull ThrowingSupplier<? extends T, ? extends X> supplier, @Nullable X @NonNull ... throwableTypeHint) Creates a result by getting the value of the specified supplier.Result.tryGetCatchAny(@NonNull ThrowingSupplier<? extends T, Throwable> supplier) Creates a result by getting the value of the specified supplier. -
Uses of ThrowingSupplier in ru.progrm_jarvis.javacommons.util.function
Methods in ru.progrm_jarvis.javacommons.util.function that return ThrowingSupplierModifier and TypeMethodDescriptionstatic <T,@Any X extends Throwable>
@NotNull ThrowingSupplier<T,X> ThrowingSupplier.returning(T value) Creates throwing supplier which always returns the provided value.static <@Any T,X extends Throwable>
@NotNull ThrowingSupplier<T,X> Creates a throwing supplier which always throws an exception produced by using the factory.