Uses of Interface
com.landawn.abacus.util.Throwables.LongFunction
Package
Description
-
Uses of Throwables.LongFunction in com.landawn.abacus.util
Modifier and TypeMethodDescriptionstatic <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.OptionalLongu.OptionalLong.flatMap
(Throwables.LongFunction<u.OptionalLong, E> mapper) <T,
E extends Exception>
u.Optional<T>u.OptionalLong.mapToNonNull
(Throwables.LongFunction<T, E> mapper) LongList.mapToObj
(int fromIndex, int toIndex, Throwables.LongFunction<? extends T, E> mapper) Map to obj.LongList.mapToObj
(Throwables.LongFunction<? extends T, E> mapper) Map to obj.<T,
E extends Exception>
u.Nullable<T>u.OptionalLong.mapToObj
(Throwables.LongFunction<T, E> mapper) Map to obj. -
Uses of Throwables.LongFunction in com.landawn.abacus.util.function
Modifier and TypeInterfaceDescriptioninterface
LongFunction<R>
Refer to JDK API documentation at: https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html -
Uses of Throwables.LongFunction in com.landawn.abacus.util.stream
Modifier and TypeMethodDescriptionLongStream.groupTo
(Throwables.LongFunction<? extends K, E> keyMapper, Collector<Long, A, D> downstream) LongStream.groupTo
(Throwables.LongFunction<? extends K, E> keyMapper, Collector<Long, A, D> downstream, Supplier<? extends M> mapFactory) LongStream.toMap
(Throwables.LongFunction<? extends K, E> keyMapper, Throwables.LongFunction<? extends V, E2> valueMapper) LongStream.toMap
(Throwables.LongFunction<? extends K, E> keyMapper, Throwables.LongFunction<? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction) LongStream.toMap
(Throwables.LongFunction<? extends K, E> keyMapper, Throwables.LongFunction<? extends V, E2> valueMapper, BinaryOperator<V> mergeFunction, Supplier<? extends M> mapFactory) LongStream.toMap
(Throwables.LongFunction<? extends K, E> keyMapper, Throwables.LongFunction<? extends V, E2> valueMapper, Supplier<? extends M> mapFactory)