| Package | Description |
|---|---|
| com.annimon.stream | |
| com.annimon.stream.function |
| Modifier and Type | Method and Description |
|---|---|
static <T> Exceptional<T> |
Exceptional.of(ThrowableSupplier<T,Throwable> supplier)
Returns an
Exceptional with value provided by given ThrowableSupplier function. |
| Modifier and Type | Method and Description |
|---|---|
static <T> Supplier<T> |
Supplier.Util.safe(ThrowableSupplier<? extends T,Throwable> throwableSupplier)
Creates a safe
Supplier. |
static <T> Supplier<T> |
Supplier.Util.safe(ThrowableSupplier<? extends T,Throwable> throwableSupplier,
T resultIfFailed)
Creates a safe
Supplier. |
Copyright © 2018. All rights reserved.