@FunctionalInterface
public interface DoubleOperator1
extends java.util.function.DoubleUnaryOperator
Modifier and Type | Field and Description |
---|---|
static DoubleOperator1 |
CUBIC
Cubic function.
|
static DoubleOperator1 |
CUBIC_ROOT
Cubic root function.
|
static DoubleOperator1 |
IDENT
Identity function.
|
static DoubleOperator1 |
NEGATE
Standard NEGATE operator (
- ). |
static DoubleOperator1 |
SQUARE
Square function.
|
static DoubleOperator1 |
SQUARE_ROOT
Square root function.
|
Modifier and Type | Method and Description |
---|---|
default DoubleOperator1 |
andThen(DoubleOperator1 after)
Create a function which applies this function and feeds the result into the next function.
|
static DoubleOperator1 |
from(java.util.function.DoubleUnaryOperator operator)
Make a standard unary double operator usable as
DoubleOperator1 . |
default DoubleOperator0 |
partial(double argument)
Create a zero argument function from this one by applying a constant argument.
|
static final DoubleOperator1 NEGATE
-
).static final DoubleOperator1 IDENT
static final DoubleOperator1 SQUARE
static final DoubleOperator1 CUBIC
static final DoubleOperator1 SQUARE_ROOT
static final DoubleOperator1 CUBIC_ROOT
@NotNull default DoubleOperator0 partial(double argument)
argument
- constant argument@NotNull default DoubleOperator1 andThen(@NotNull DoubleOperator1 after)
after
- function called with the result of this function@NotNull static DoubleOperator1 from(@NotNull java.util.function.DoubleUnaryOperator operator)
DoubleOperator1
.
This is useful if you want to make use of the extended functionality of this implementation.operator
- operator to be used as a DoubleOperator1
DoubleOperator1
view of the incoming operator, or possibly just a cast if
operator
already has the correct type