public class Sneaky
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Sneaky.ThrowingSupplier<T> |
| Constructor and Description |
|---|
Sneaky() |
| Modifier and Type | Method and Description |
|---|---|
static <T> java.util.function.Supplier<T> |
sneakySupply(Sneaky.ThrowingSupplier<T> supplier) |
static <T extends java.lang.Throwable> |
sneakyThrow(java.lang.Throwable t) |
public static <T extends java.lang.Throwable> void sneakyThrow(java.lang.Throwable t)
throws T extends java.lang.Throwable
T extends java.lang.Throwablepublic static <T> java.util.function.Supplier<T> sneakySupply(Sneaky.ThrowingSupplier<T> supplier)