| Package | Description |
|---|---|
| com.landawn.abacus.util | |
| com.landawn.abacus.util.function |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
N.callUninterruptibly(long timeoutInMillis,
Throwables.LongFunction<T,InterruptedException> cmd)
Note: Copied from Google Guava under Apache License v2.0
If a thread is interrupted during such a call, the call continues to block until the result is available or the timeout elapses, and only then re-interrupts the thread. |
<E extends Exception> |
u.OptionalLong.flatMap(Throwables.LongFunction<u.OptionalLong,E> mapper) |
<T,E extends Exception> |
u.OptionalLong.mapToNonNull(Throwables.LongFunction<T,E> mapper) |
<T,E extends Exception> |
u.OptionalLong.mapToObj(Throwables.LongFunction<T,E> mapper)
Map to obj.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
LongFunction<R>
Refer to JDK API documentation at: https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html
|
Copyright © 2021. All rights reserved.