public final class DoubleUnaryOperators extends Object
DoubleUnaryOperator
interface.Modifier and Type | Method and Description |
---|---|
static DoubleUnaryOperator |
andThen(DoubleUnaryOperator this_,
DoubleUnaryOperator after)
Returns a composed operator that first applies the
this_ operator to
its input, and then applies the after operator to the result. |
static DoubleUnaryOperator |
compose(DoubleUnaryOperator this_,
DoubleUnaryOperator before)
Returns a composed operator that first applies the
before
operator to its input, and then applies the this_ operator to the result. |
static DoubleUnaryOperator |
identity()
Returns a unary operator that always returns its input argument.
|
public static DoubleUnaryOperator compose(DoubleUnaryOperator this_, DoubleUnaryOperator before)
before
operator to its input, and then applies the this_
operator to the result.
If evaluation of either operator throws an exception, it is relayed to
the caller of the composed operator.this_
- the operator to apply after the before
operator is appliedbefore
- the operator to apply before the this_
operator is appliedbefore
operator and then applies the this_
operatorNullPointerException
- if this_
is nullNullPointerException
- if before is nullandThen(DoubleUnaryOperator, DoubleUnaryOperator)
public static DoubleUnaryOperator andThen(DoubleUnaryOperator this_, DoubleUnaryOperator after)
this_
operator to
its input, and then applies the after
operator to the result.
If evaluation of either operator throws an exception, it is relayed to
the caller of the composed operator.this_
- the operator to apply before the after
operator is appliedafter
- the operator to apply after the this_
operator is appliedthis_
operator and then
applies the after
operatorNullPointerException
- if this_
is nullNullPointerException
- if after is nullcompose(DoubleUnaryOperator, DoubleUnaryOperator)
public static DoubleUnaryOperator identity()
Copyright © 2015. All rights reserved.