| Package | Description |
|---|---|
| com.landawn.abacus.util |
| Modifier and Type | Field and Description |
|---|---|
static If.OrElse |
If.OrElse.FALSE
For internal only
|
static If.OrElse |
If.OrElse.TRUE
For internal only
|
| Modifier and Type | Method and Description |
|---|---|
If.OrElse |
ExceptionalStream.acceptIfNotEmpty(Throwables.Consumer<? super ExceptionalStream<T,E>,? extends E> action) |
<E extends Exception> |
Multiset.acceptIfNotEmpty(Throwables.Consumer<? super Multiset<T>,E> action)
Accept if not empty.
|
<E extends Throwable> |
If.then(Throwables.Runnable<E> cmd) |
<U,E extends Throwable> |
If.then(U init,
Throwables.Consumer<? super U,E> action) |
If.OrElse |
If.thenDoNothing()
Then do nothing.
|
<E extends Throwable> |
If.thenThrow(Supplier<? extends E> exceptionSupplier) |
Copyright © 2021. All rights reserved.