Interface IntFunction<T>
-
- All Superinterfaces:
Serializable,ToIntFunction<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IntFunction<T> extends ToIntFunction<T>, Serializable
IntFunction is a primitive Function which may be used to reduce the overhead of autoboxing Integer objects in places where primitive ints could be used. This file was automatically generated from template file primitiveFunction.stg.- Since:
- 3.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default intapplyAsInt(T value)intintValueOf(T anObject)
-
-
-
Method Detail
-
intValueOf
int intValueOf(T anObject)
-
applyAsInt
default int applyAsInt(T value)
- Specified by:
applyAsIntin interfaceToIntFunction<T>
-
-