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 |
|---|---|
| public default DoubleUnaryOperator | Returns: a composed operator that first applies this operator and then applies theafter operatorthe operator to apply after this operator is applied after)Returns a composed operator that first applies this operator to
its input, and then applies the |
| public double | Returns: the operator resultthe operand operand)Applies this operator to the given operand. |
| public default DoubleUnaryOperator | Returns: a composed operator that first applies thebefore
operator and then applies this operatorthe operator to apply before this operator is applied before)Returns a composed operator that first applies the |
| public static DoubleUnaryOperator | Returns: a unary operator that always returns its input argumentReturns a unary operator that always returns its input argument. |
| andThen | back to summary |
|---|---|
| public default DoubleUnaryOperator andThen(DoubleUnaryOperator after) Returns a composed operator that first applies this operator to
its input, and then applies the
| |
| applyAsDouble | back to summary |
|---|---|
| public double applyAsDouble(double operand) Applies this operator to the given operand.
| |
| compose | back to summary |
|---|---|
| public default DoubleUnaryOperator compose(DoubleUnaryOperator before) Returns a composed operator that first applies the
| |
| identity | back to summary |
|---|---|
| public static DoubleUnaryOperator identity() Returns a unary operator that always returns its input argument.
| |