long
-valued operand that produces
a long
-valued result. This is the primitive type specialization of
UnaryOperator
for long
.
This is a functional interface
whose functional method is applyAsLong(long)
.
UnaryOperator
Modifier and Type | Method and Description |
---|---|
public default LongUnaryOperator | Returns: a composed operator that first applies this operator and then applies theafter operatorthe operator to apply after this operator is applied after)Returns a composed operator that first applies this operator to
its input, and then applies the |
public long | Returns: the operator resultthe operand operand)Applies this operator to the given operand. |
public default LongUnaryOperator | Returns: a composed operator that first applies thebefore
operator and then applies this operatorthe operator to apply before this operator is applied before)Returns a composed operator that first applies the |
public static LongUnaryOperator | Returns: a unary operator that always returns its input argumentReturns a unary operator that always returns its input argument. |
andThen | back to summary |
---|---|
public default LongUnaryOperator andThen(LongUnaryOperator after) Returns a composed operator that first applies this operator to
its input, and then applies the
|
applyAsLong | back to summary |
---|---|
public long applyAsLong(long operand) Applies this operator to the given operand.
|
compose | back to summary |
---|---|
public default LongUnaryOperator compose(LongUnaryOperator before) Returns a composed operator that first applies the
|
identity | back to summary |
---|---|
public static LongUnaryOperator identity() Returns a unary operator that always returns its input argument.
|