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