Uses of Interface
com.landawn.abacus.util.Throwables.ToLongFunction
-
Uses of Throwables.ToLongFunction in com.landawn.abacus.util
Modifier and TypeMethodDescription<E2 extends Exception>
u.OptionalDoubleExceptionalStream.averageLong
(Throwables.ToLongFunction<? super T, E2> func) static <T,
E extends Exception>
u.OptionalDoubleIterables.averageLong
(Iterable<? extends T> c, Throwables.ToLongFunction<? super T, E> func) ReturnsOptionalDouble.empty()
if the specifiedArray/Collection
isnull
or empty, orfromIndex == toIndex
.static <T,
E extends Exception>
u.OptionalDoubleIterables.averageLong
(Collection<? extends T> c, int fromIndex, int toIndex, Throwables.ToLongFunction<? super T, E> func) ReturnsOptionalDouble.empty()
if the specifiedArray/Collection
isnull
or empty, orfromIndex == toIndex
.static <T,
E extends Exception>
u.OptionalDoubleIterables.averageLong
(T[] a, int fromIndex, int toIndex, Throwables.ToLongFunction<? super T, E> func) ReturnsOptionalDouble.empty()
if the specifiedArray/Collection
isnull
or empty, orfromIndex == toIndex
.static <T,
E extends Exception>
u.OptionalDoubleIterables.averageLong
(T[] a, Throwables.ToLongFunction<? super T, E> func) ReturnsOptionalDouble.empty()
if the specifiedArray/Collection
isnull
or empty, orfromIndex == toIndex
.static <T,
E extends Exception>
doubleN.averageLong
(Iterable<? extends T> c, Throwables.ToLongFunction<? super T, E> func) Returns0
if the specifiedArray/Collection
isnull
or empty, orfromIndex == toIndex
.static <T,
E extends Exception>
doubleN.averageLong
(Collection<? extends T> c, int fromIndex, int toIndex, Throwables.ToLongFunction<? super T, E> func) Returns0
if the specifiedArray/Collection
isnull
or empty, orfromIndex == toIndex
.static <T,
E extends Exception>
doubleN.averageLong
(T[] a, int fromIndex, int toIndex, Throwables.ToLongFunction<? super T, E> func) Returns0
if the specifiedArray/Collection
isnull
or empty, orfromIndex == toIndex
.static <T,
E extends Exception>
doubleN.averageLong
(T[] a, Throwables.ToLongFunction<? super T, E> func) Returns0
if the specifiedArray/Collection
isnull
or empty, orfromIndex == toIndex
.static <T,
E extends Exception>
long[]N.mapToLong
(Collection<? extends T> c, int fromIndex, int toIndex, Throwables.ToLongFunction<? super T, E> func) Mostly it's designed for one-step operation to complete the operation in one step.static <T,
E extends Exception>
long[]N.mapToLong
(Collection<? extends T> c, Throwables.ToLongFunction<? super T, E> func) Map to long.static <T,
E extends Exception>
long[]N.mapToLong
(T[] a, int fromIndex, int toIndex, Throwables.ToLongFunction<? super T, E> func) Mostly it's designed for one-step operation to complete the operation in one step.static <T,
E extends Exception>
long[]N.mapToLong
(T[] a, Throwables.ToLongFunction<? super T, E> func) Map to long.<E extends Exception>
u.OptionalLongu.Nullable.mapToLong
(Throwables.ToLongFunction<? super T, E> mapper) Map to long.<E extends Exception>
u.OptionalLongu.Optional.mapToLong
(Throwables.ToLongFunction<? super T, E> mapper) Map to long.<E extends Exception>
u.OptionalLongu.OptionalDouble.mapToLong
(Throwables.ToLongFunction<Double, E> mapper) Map to long.<E extends Exception>
u.OptionalLongu.OptionalInt.mapToLong
(Throwables.ToLongFunction<Integer, E> mapper) Map to long.<E extends Exception>
u.OptionalLongu.Nullable.mapToLongIfNotNull
(Throwables.ToLongFunction<? super T, E> mapper) Map to long if not null.<E2 extends Exception>
longExceptionalStream.sumLong
(Throwables.ToLongFunction<? super T, E2> func) static <T,
E extends Exception>
longN.sumLong
(Iterable<? extends T> c, Throwables.ToLongFunction<? super T, E> func) static <T,
E extends Exception>
longN.sumLong
(Collection<? extends T> c, int fromIndex, int toIndex, Throwables.ToLongFunction<? super T, E> func) static <T,
E extends Exception>
longN.sumLong
(T[] a, int fromIndex, int toIndex, Throwables.ToLongFunction<? super T, E> func) static <T,
E extends Exception>
longN.sumLong
(T[] a, Throwables.ToLongFunction<? super T, E> func) -
Uses of Throwables.ToLongFunction in com.landawn.abacus.util.function
Modifier and TypeInterfaceDescriptioninterface
Refer to JDK API documentation at: https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html