@FunctionalInterface public interface DoubleUnaryOperator
double
-valued operand that produces
a double
-valued result. This is the primitive type specialization of
UnaryOperator
for double
.
This is a functional interface
whose functional method is applyAsDouble(double)
.
UnaryOperator
Modifier and Type | Method and Description |
---|---|
double |
applyAsDouble(double operand)
Applies this operator to the given operand.
|