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