@FunctionalInterface public interface DistributedDoubleUnaryOperator extends java.util.function.DoubleUnaryOperator, Serializable
double
-valued operand that produces
a double
-valued result. This is the primitive type specialization of
DistributedUnaryOperator
for double
.
This is a functional interface
whose functional method is DoubleUnaryOperator.applyAsDouble(double)
.
DistributedUnaryOperator
Modifier and Type | Method and Description |
---|---|
default DistributedDoubleUnaryOperator |
andThen(DistributedDoubleUnaryOperator after)
Returns a composed operator that first applies this operator to
its input, and then applies the
after operator to the result. |
default DistributedDoubleUnaryOperator |
compose(DistributedDoubleUnaryOperator before)
Returns a composed operator that first applies the
before
operator to its input, and then applies this operator to the result. |
static DistributedDoubleUnaryOperator |
identity()
Returns a unary operator that always returns its input argument.
|
andThen, applyAsDouble, compose
static DistributedDoubleUnaryOperator identity()
identity
in interface java.util.function.DoubleUnaryOperator
default DistributedDoubleUnaryOperator compose(DistributedDoubleUnaryOperator before)
before
operator to its input, and then applies this operator to the result.
If evaluation of either operator throws an exception, it is relayed to
the caller of the composed operator.before
- the operator to apply before this operator is appliedbefore
operator and then applies this operatorNullPointerException
- if before is nullandThen(DistributedDoubleUnaryOperator)
default DistributedDoubleUnaryOperator andThen(DistributedDoubleUnaryOperator after)
after
operator to the result.
If evaluation of either operator throws an exception, it is relayed to
the caller of the composed operator.after
- the operator to apply after this operator is appliedafter
operatorNullPointerException
- if after is nullcompose(DistributedDoubleUnaryOperator)
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.