Interface DoubleFunction<T>
- All Superinterfaces:
Serializable
,ToDoubleFunction<T>
- All Known Implementing Classes:
DoubleFunctionImpl
,Functions.DoubleFunctionChain
- 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
Modifier and Type Method Description default double
applyAsDouble(T value)
double
doubleValueOf(T anObject)
-
Method Details
-
doubleValueOf
-
applyAsDouble
- Specified by:
applyAsDouble
in interfaceToDoubleFunction<T>
-