public interface ToIntFunction<T> extends ToIntFunction<T>, Try.ToIntFunction<T,RuntimeException>
Modifier and Type | Field and Description |
---|---|
static ToIntFunction<Number> |
FROM_NUM |
static ToIntFunction<Number> |
NUM
Deprecated.
replaced with
FROM_NUM . |
static ToIntFunction<Integer> |
UNBOX |
Modifier and Type | Method and Description |
---|---|
int |
applyAsInt(T value)
Apply as int.
|
static final ToIntFunction<Integer> UNBOX
static final ToIntFunction<Number> FROM_NUM
@Deprecated static final ToIntFunction<Number> NUM
FROM_NUM
.int applyAsInt(T value)
Try.ToIntFunction
applyAsInt
in interface ToIntFunction<T>
applyAsInt
in interface Try.ToIntFunction<T,RuntimeException>
Copyright © 2019. All rights reserved.