IntUnaryOperator

Interface IntUnaryOperator

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 IntUnaryOperator

Represents an operation on a single int-valued operand that produces an int-valued result. This is the primitive type specialization of UnaryOperator for int.

This is a functional interface whose functional method is applyAsInt(int).

Since:
1.8
See Also:
UnaryOperator
登录查看完整内容