| Modifier and Type | Field and Description |
|---|---|
static If.OrElse |
FALSE
For internal only
|
static If.OrElse |
TRUE
For internal only
|
| Modifier and Type | Method and Description |
|---|---|
<E extends Throwable> |
orElse(Throwables.Runnable<E> cmd) |
<U,E extends Throwable> |
orElse(U init,
Throwables.Consumer<? super U,E> action) |
<E extends Throwable> |
orElseThrow(Supplier<? extends E> exceptionSupplier)
Or else throw.
|
public static final If.OrElse TRUE
public static final If.OrElse FALSE
public <E extends Throwable> void orElse(Throwables.Runnable<E> cmd) throws E extends Throwable
E - cmd - E - the eE extends Throwablepublic <U,E extends Throwable> void orElse(U init, Throwables.Consumer<? super U,E> action) throws E extends Throwable
U - E - init - action - E - the eE extends ThrowableCopyright © 2021. All rights reserved.