Interface DoubleFunction<T>
-
- All Superinterfaces:
Serializable,ToDoubleFunction<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 DoubleFunction<T> extends ToDoubleFunction<T>, Serializable
DoubleFunction is a primitive Function which may be used to reduce the overhead of autoboxing Double objects in places where primitive doubles 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 doubleapplyAsDouble(T value)doubledoubleValueOf(T anObject)
-
-
-
Method Detail
-
doubleValueOf
double doubleValueOf(T anObject)
-
applyAsDouble
default double applyAsDouble(T value)
- Specified by:
applyAsDoublein interfaceToDoubleFunction<T>
-
-