| Package | Description |
|---|---|
| com.pivovarit.function |
The
com.pivovarit.function package contains checked equivalents of the java.util.function package |
| Modifier and Type | Method and Description |
|---|---|
static <T> Supplier<Optional<T>> |
ThrowingSupplier.lifted(ThrowingSupplier<T,?> supplier) |
static <T1> Supplier<T1> |
ThrowingSupplier.sneaky(ThrowingSupplier<T1,?> supplier)
Returns a new Supplier instance which rethrows the checked exception using the Sneaky Throws pattern
|
static <T> Supplier<T> |
ThrowingSupplier.unchecked(ThrowingSupplier<T,?> supplier) |
Copyright © 2020. All rights reserved.