| Package | Description |
|---|---|
| com.landawn.abacus.util |
| Modifier and Type | Method and Description |
|---|---|
static u.OptionalByte |
u.OptionalByte.empty() |
<E extends Exception> |
u.OptionalByte.filter(Throwables.BytePredicate<E> predicate) |
<E extends Exception> |
u.OptionalByte.flatMap(Throwables.ByteFunction<u.OptionalByte,E> mapper) |
<E extends Exception> |
u.OptionalByte.ifPresent(Throwables.ByteConsumer<E> action) |
<E extends Exception,E2 extends Exception> |
u.OptionalByte.ifPresentOrElse(Throwables.ByteConsumer<E> action,
Throwables.Runnable<E2> emptyAction)
If present or else.
|
<E extends Exception> |
u.OptionalByte.map(Throwables.ByteUnaryOperator<E> mapper) |
<E extends Exception> |
u.Optional.mapToByte(Throwables.ToByteFunction<? super T,E> mapper)
Map to byte.
|
<E extends Exception> |
u.Nullable.mapToByte(Throwables.ToByteFunction<? super T,E> mapper)
Map to byte.
|
<E extends Exception> |
u.Nullable.mapToByteIfNotNull(Throwables.ToByteFunction<? super T,E> mapper)
Map to byte if not null.
|
static u.OptionalByte |
Iterables.max(byte... a)
Returns
OptionalByte.empty() if the specified Array/Collection is null or empty. |
static u.OptionalByte |
Iterables.min(byte... a)
Returns
OptionalByte.empty() if the specified Array/Collection is null or empty. |
static u.OptionalByte |
u.OptionalByte.of(byte value) |
static u.OptionalByte |
u.OptionalByte.ofNullable(Byte val) |
<E extends Exception> |
u.OptionalByte.or(Throwables.Supplier<u.OptionalByte,E> supplier) |
| Modifier and Type | Method and Description |
|---|---|
int |
u.OptionalByte.compareTo(u.OptionalByte optional) |
| Modifier and Type | Method and Description |
|---|---|
<E extends Exception> |
u.OptionalByte.flatMap(Throwables.ByteFunction<u.OptionalByte,E> mapper) |
<E extends Exception> |
u.OptionalByte.or(Throwables.Supplier<u.OptionalByte,E> supplier) |
Copyright © 2021. All rights reserved.