LongUnaryOperator
Interface LongUnaryOperator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface LongUnaryOperator
Represents an operation on a single 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)
.
- Since:
- 1.8
- See Also:
UnaryOperator