@FunctionalInterface public interface DistributedLongUnaryOperator extends java.util.function.LongUnaryOperator, Serializable
long
-valued operand that produces
a long
-valued result. This is the primitive type specialization of
DistributedUnaryOperator
for long
.
This is a functional interface
whose functional method is LongUnaryOperator.applyAsLong(long)
.
DistributedUnaryOperator
Modifier and Type | Method and Description |
---|---|
default DistributedLongUnaryOperator |
andThen(DistributedLongUnaryOperator after)
Returns a composed operator that first applies this operator to
its input, and then applies the
after operator to the result. |
default DistributedLongUnaryOperator |
compose(DistributedLongUnaryOperator before)
Returns a composed operator that first applies the
before
operator to its input, and then applies this operator to the result. |
static DistributedLongUnaryOperator |
identity()
Returns a unary operator that always returns its input argument.
|
andThen, applyAsLong, compose
static DistributedLongUnaryOperator identity()
identity
in interface java.util.function.LongUnaryOperator
default DistributedLongUnaryOperator compose(DistributedLongUnaryOperator 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(DistributedLongUnaryOperator)
default DistributedLongUnaryOperator andThen(DistributedLongUnaryOperator 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(DistributedLongUnaryOperator)
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.