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)
.
UnaryOperator
Modifier and Type | Method and Description |
---|---|
public default IntUnaryOperator | 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 int | Returns: the operator resultthe operand operand)Applies this operator to the given operand. |
public default IntUnaryOperator | 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 IntUnaryOperator | 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 IntUnaryOperator andThen(IntUnaryOperator after) Returns a composed operator that first applies this operator to
its input, and then applies the
|
applyAsInt | back to summary |
---|---|
public int applyAsInt(int operand) Applies this operator to the given operand.
|
compose | back to summary |
---|---|
public default IntUnaryOperator compose(IntUnaryOperator before) Returns a composed operator that first applies the
|
identity | back to summary |
---|---|
public static IntUnaryOperator identity() Returns a unary operator that always returns its input argument.
|