Uses of Interface
com.landawn.abacus.util.function.ToIntFunction
Package
Description
-
Uses of ToIntFunction in com.landawn.abacus.util
Modifier and TypeFieldDescriptionstatic final ToIntFunction<u.OptionalInt>
Fn.GET_AS_INT
static final ToIntFunction<OptionalInt>
Modifier and TypeMethodDescriptionstatic <T extends Number>
ToIntFunction<T>Fn.numToInt()
Num to int.static ToIntFunction<Integer>
Fn.FnI.unbox()
Modifier and TypeMethodDescriptionstatic <T> Comparator<T>
Comparators.comparingInt
(ToIntFunction<? super T> keyMapper) static <T> Wrapper<T>
Wrapper.of
(T value, ToIntFunction<? super T> hashFunction, BiPredicate<? super T, ? super T> equalsFunction) static <T> Wrapper<T>
Wrapper.of
(T value, ToIntFunction<? super T> hashFunction, BiPredicate<? super T, ? super T> equalsFunction, Function<? super T, String> toStringFunction) Fn.wrap
(ToIntFunction<? super T> hashFunction, BiPredicate<? super T, ? super T> equalsFunction) -
Uses of ToIntFunction in com.landawn.abacus.util.function
Modifier and TypeFieldDescriptionstatic final ToIntFunction<Number>
ToIntFunction.FROM_NUM
static final ToIntFunction<Number>
ToIntFunction.NUM
Deprecated.static final ToIntFunction<Integer>
ToIntFunction.UNBOX
-
Uses of ToIntFunction in com.landawn.abacus.util.stream
Modifier and TypeMethodDescriptionabstract u.OptionalDouble
Stream.averageInt
(ToIntFunction<? super T> mapper) static <T> Collector<T,
?, u.OptionalDouble> Collectors.averagingInt
(ToIntFunction<? super T> mapper) Collectors.averagingIntOrThrow
(ToIntFunction<? super T> mapper) abstract IntStream
Stream.mapToInt
(ToIntFunction<? super T> mapper) EntryStream.sortedByInt
(ToIntFunction<? super Map.Entry<K, V>> keyMapper) Stream.sortedByInt
(ToIntFunction<? super T> keyMapper) abstract long
Stream.sumInt
(ToIntFunction<? super T> mapper) static <T> Collector<T,
?, IntSummaryStatistics> Collectors.summarizingInt
(ToIntFunction<? super T> mapper) Collectors.summingInt
(ToIntFunction<? super T> mapper)
FROM_NUM
.