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 Exception> |
orElse(Throwables.Runnable<E> cmd) |
<U,E extends Exception> |
orElse(U init,
Throwables.Consumer<? super U,E> action) |
<E extends Exception> |
orElseThrow(Supplier<? extends E> exceptionSupplier)
Or else throw.
|
public static final If.OrElse TRUE
public static final If.OrElse FALSE
public <E extends Exception> void orElse(Throwables.Runnable<E> cmd) throws E extends Exception
E
- cmd
- E
- the eE extends Exception
public <U,E extends Exception> void orElse(U init, Throwables.Consumer<? super U,E> action) throws E extends Exception
U
- E
- init
- action
- E
- the eE extends Exception
Copyright © 2020. All rights reserved.