Uses of Interface
com.landawn.abacus.util.Throwables.ToIntFunction
-
Uses of Throwables.ToIntFunction in com.landawn.abacus.util
Modifier and TypeMethodDescription<E2 extends Exception>
u.OptionalDoubleExceptionalStream.averageInt
(Throwables.ToIntFunction<? super T, E2> func) static <T,
E extends Exception>
u.OptionalDoubleIterables.averageInt
(Iterable<? extends T> c, Throwables.ToIntFunction<? super T, E> func) ReturnsOptionalDouble.empty()
if the specifiedArray/Collection
isnull
or empty, orfromIndex == toIndex
.static <T,
E extends Exception>
u.OptionalDoubleIterables.averageInt
(Collection<? extends T> c, int fromIndex, int toIndex, Throwables.ToIntFunction<? super T, E> func) ReturnsOptionalDouble.empty()
if the specifiedArray/Collection
isnull
or empty, orfromIndex == toIndex
.static <T,
E extends Exception>
u.OptionalDoubleIterables.averageInt
(T[] a, int fromIndex, int toIndex, Throwables.ToIntFunction<? super T, E> func) ReturnsOptionalDouble.empty()
if the specifiedArray/Collection
isnull
or empty, orfromIndex == toIndex
.static <T,
E extends Exception>
u.OptionalDoubleIterables.averageInt
(T[] a, Throwables.ToIntFunction<? super T, E> func) ReturnsOptionalDouble.empty()
if the specifiedArray/Collection
isnull
or empty, orfromIndex == toIndex
.static <T,
E extends Exception>
doubleN.averageInt
(Iterable<? extends T> c, Throwables.ToIntFunction<? super T, E> func) Returns0
if the specifiedArray/Collection
isnull
or empty, orfromIndex == toIndex
.static <T,
E extends Exception>
doubleN.averageInt
(Collection<? extends T> c, int fromIndex, int toIndex, Throwables.ToIntFunction<? super T, E> func) Returns0
if the specifiedArray/Collection
isnull
or empty, orfromIndex == toIndex
.static <T,
E extends Exception>
doubleN.averageInt
(T[] a, int fromIndex, int toIndex, Throwables.ToIntFunction<? super T, E> func) Returns0
if the specifiedArray/Collection
isnull
or empty, orfromIndex == toIndex
.static <T,
E extends Exception>
doubleN.averageInt
(T[] a, Throwables.ToIntFunction<? super T, E> func) Returns0
if the specifiedArray/Collection
isnull
or empty, orfromIndex == toIndex
.static <T,
E extends Exception>
Builder.HashCodeBuilderBuilder.hash
(T value, Throwables.ToIntFunction<? super T, E> func) <T,
E extends Exception>
Builder.HashCodeBuilderBuilder.HashCodeBuilder.hash
(T value, Throwables.ToIntFunction<? super T, E> func) static <T,
E extends Exception>
Chain.HashCodeChainChain.hash
(T value, Throwables.ToIntFunction<? super T, E> func) <T,
E extends Exception>
Chain.HashCodeChainChain.HashCodeChain.hash
(T value, Throwables.ToIntFunction<? super T, E> func) static <T,
E extends Exception>
int[]N.mapToInt
(Collection<? extends T> c, int fromIndex, int toIndex, Throwables.ToIntFunction<? super T, E> func) Mostly it's designed for one-step operation to complete the operation in one step.static <T,
E extends Exception>
int[]N.mapToInt
(Collection<? extends T> c, Throwables.ToIntFunction<? super T, E> func) Map to int.static <T,
E extends Exception>
int[]N.mapToInt
(T[] a, int fromIndex, int toIndex, Throwables.ToIntFunction<? super T, E> func) Mostly it's designed for one-step operation to complete the operation in one step.static <T,
E extends Exception>
int[]N.mapToInt
(T[] a, Throwables.ToIntFunction<? super T, E> func) Map to int.<E extends Exception>
u.OptionalIntu.Nullable.mapToInt
(Throwables.ToIntFunction<? super T, E> mapper) Map to int.<E extends Exception>
u.OptionalIntu.Optional.mapToInt
(Throwables.ToIntFunction<? super T, E> mapper) Map to int.<E extends Exception>
u.OptionalIntu.OptionalByte.mapToInt
(Throwables.ToIntFunction<Byte, E> mapper) Map to int.<E extends Exception>
u.OptionalIntu.OptionalChar.mapToInt
(Throwables.ToIntFunction<Character, E> mapper) Map to int.<E extends Exception>
u.OptionalIntu.OptionalDouble.mapToInt
(Throwables.ToIntFunction<Double, E> mapper) Map to int.<E extends Exception>
u.OptionalIntu.OptionalFloat.mapToInt
(Throwables.ToIntFunction<Float, E> mapper) Map to int.<E extends Exception>
u.OptionalIntu.OptionalLong.mapToInt
(Throwables.ToIntFunction<Long, E> mapper) Map to int.<E extends Exception>
u.OptionalIntu.OptionalShort.mapToInt
(Throwables.ToIntFunction<Short, E> mapper) Map to int.<E extends Exception>
u.OptionalIntu.Nullable.mapToIntIfNotNull
(Throwables.ToIntFunction<? super T, E> mapper) Map to int if not null.<E2 extends Exception>
longExceptionalStream.sumInt
(Throwables.ToIntFunction<? super T, E2> func) static <T,
E extends Exception>
u.OptionalLongIterables.sumInt
(Iterable<? extends T> c, Throwables.ToIntFunction<? super T, E> func) ReturnsOptionalLong.empty()
if the specifiedArray/Collection
isnull
or empty, orfromIndex == toIndex
.static <T,
E extends Exception>
intN.sumInt
(Iterable<? extends T> c, Throwables.ToIntFunction<? super T, E> func) static <T,
E extends Exception>
intN.sumInt
(Collection<? extends T> c, int fromIndex, int toIndex, Throwables.ToIntFunction<? super T, E> func) static <T,
E extends Exception>
intN.sumInt
(T[] a, int fromIndex, int toIndex, Throwables.ToIntFunction<? super T, E> func) static <T,
E extends Exception>
intN.sumInt
(T[] a, Throwables.ToIntFunction<? super T, E> func) -
Uses of Throwables.ToIntFunction 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