Package io.molr.mole.core.utils
Class Checkeds
- java.lang.Object
-
- io.molr.mole.core.utils.Checkeds
-
public final class Checkeds extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Checkeds.CheckedThrowingBiConsumer<T,U>
static interface
Checkeds.CheckedThrowingBiFunction<T,U,R>
static interface
Checkeds.CheckedThrowingCallable<T>
static interface
Checkeds.CheckedThrowingConsumer<T>
static interface
Checkeds.CheckedThrowingFunction<T,R>
static interface
Checkeds.CheckedThrowingRunnable
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
callUnchecked(Checkeds.CheckedThrowingCallable<T> runnable)
static void
runUnchecked(Checkeds.CheckedThrowingRunnable runnable)
static <T,U>
java.util.function.BiConsumer<T,U>unchecked(Checkeds.CheckedThrowingBiConsumer<T,U> runnable)
-
-
-
Method Detail
-
runUnchecked
public static final void runUnchecked(Checkeds.CheckedThrowingRunnable runnable)
-
callUnchecked
public static final <T> T callUnchecked(Checkeds.CheckedThrowingCallable<T> runnable)
-
unchecked
public static final <T,U> java.util.function.BiConsumer<T,U> unchecked(Checkeds.CheckedThrowingBiConsumer<T,U> runnable)
-
-