classpublicPriority 3
SneakyThrow
com.hypixel.hytale.sneakythrow.SneakyThrow
10
Methods
10
Public Methods
0
Fields
1
Constructors
Constructors
public
SneakyThrow()Methods
Public Methods (10)
publicstatic
<T, E extends Throwable> Consumer<T> sneakyConsumer(ThrowableConsumer<T, E> consumer)publicstatic
<T, U, E extends Throwable> BiConsumer<T, U> sneakyConsumer(ThrowableBiConsumer<T, U, E> consumer)publicstatic
<T, U, V, E extends Throwable> TriConsumer<T, U, V> sneakyConsumer(ThrowableTriConsumer<T, U, V, E> consumer)publicstatic
<T, R, E extends Throwable> Function<T, R> sneakyFunction(ThrowableFunction<T, R, E> function)publicstatic
<T, U, R, E extends Throwable> BiFunction<T, U, R> sneakyFunction(ThrowableBiFunction<T, U, R, E> function)publicstatic
<E extends Throwable> IntConsumer sneakyIntConsumer(ThrowableIntConsumer<E> consumer)publicstatic
<E extends Throwable> Runnable sneakyRunnable(ThrowableRunnable<E> runnable)publicstatic
<T, E extends Throwable> Supplier<T> sneakySupplier(ThrowableSupplier<T, E> supplier)publicstatic
<E extends Throwable> IntSupplier sneakySupplier(ThrowableIntSupplier<E> supplier)publicstatic
RuntimeException sneakyThrow(Throwable t)@Nonnull