| Package | Description |
|---|---|
| com.landawn.abacus.util | |
| com.landawn.abacus.util.function | |
| com.landawn.abacus.util.stream |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Number> |
Fn.numToInt()
Num to int.
|
static ToIntFunction<Integer> |
Fn.FnI.unbox() |
| Modifier and Type | Method and Description |
|---|---|
static <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) |
static <T> Function<T,Wrapper<T>> |
Fn.wrap(ToIntFunction<? super T> hashFunction,
BiPredicate<? super T,? super T> equalsFunction) |
| Modifier and Type | Field and Description |
|---|---|
static ToIntFunction<Number> |
ToIntFunction.FROM_NUM |
static ToIntFunction<Number> |
ToIntFunction.NUM
Deprecated.
replaced with
FROM_NUM. |
static ToIntFunction<Integer> |
ToIntFunction.UNBOX |
| Modifier and Type | Method and Description |
|---|---|
static <T> Collector<T,?,u.OptionalDouble> |
Collectors.averagingInt(ToIntFunction<? super T> mapper) |
static <T> Collector<T,?,Double> |
Collectors.averagingIntForNonEmpty(ToIntFunction<? super T> mapper) |
static <T> Collector<T,?,Long> |
Collectors.summingInt(ToIntFunction<? super T> mapper) |
Copyright © 2021. All rights reserved.