| Package | Description |
|---|---|
| com.landawn.abacus.util |
| Modifier and Type | Method and Description |
|---|---|
static u.OptionalShort |
u.OptionalShort.empty() |
<E extends Exception> |
u.OptionalShort.filter(Throwables.ShortPredicate<E> predicate) |
<E extends Exception> |
u.OptionalShort.flatMap(Throwables.ShortFunction<u.OptionalShort,E> mapper) |
<E extends Exception> |
u.OptionalShort.ifPresent(Throwables.ShortConsumer<E> action) |
<E extends Exception,E2 extends Exception> |
u.OptionalShort.ifPresentOrElse(Throwables.ShortConsumer<E> action,
Throwables.Runnable<E2> emptyAction)
If present or else.
|
<E extends Exception> |
u.OptionalShort.map(Throwables.ShortUnaryOperator<E> mapper) |
<E extends Exception> |
u.Optional.mapToShort(Throwables.ToShortFunction<? super T,E> mapper)
Map to short.
|
<E extends Exception> |
u.Nullable.mapToShort(Throwables.ToShortFunction<? super T,E> mapper)
Map to short.
|
<E extends Exception> |
u.Nullable.mapToShortIfNotNull(Throwables.ToShortFunction<? super T,E> mapper)
Map to short if not null.
|
static u.OptionalShort |
Iterables.max(short... a)
Returns
OptionalShort.empty() if the specified Array/Collection is null or empty. |
static u.OptionalShort |
Iterables.min(short... a)
Returns
OptionalShort.empty() if the specified Array/Collection is null or empty. |
static u.OptionalShort |
u.OptionalShort.of(short value) |
static u.OptionalShort |
u.OptionalShort.ofNullable(Short val) |
<E extends Exception> |
u.OptionalShort.or(Throwables.Supplier<u.OptionalShort,E> supplier) |
| Modifier and Type | Method and Description |
|---|---|
int |
u.OptionalShort.compareTo(u.OptionalShort optional) |
| Modifier and Type | Method and Description |
|---|---|
<E extends Exception> |
u.OptionalShort.flatMap(Throwables.ShortFunction<u.OptionalShort,E> mapper) |
<E extends Exception> |
u.OptionalShort.or(Throwables.Supplier<u.OptionalShort,E> supplier) |
Copyright © 2021. All rights reserved.