public abstract class DoubleFunction<T extends Number> extends Object implements ToDoubleFunction<T>
Constructor and Description |
---|
DoubleFunction() |
Modifier and Type | Method and Description |
---|---|
abstract double |
apply(double v)
Apply a transform to the value `v`.
|
double |
applyAsDouble(T n) |
public double applyAsDouble(T n)
applyAsDouble
in interface ToDoubleFunction<T extends Number>
public abstract double apply(double v)
v
- Double value to transform.