Package com.landawn.abacus.util.function
Interface IntUnaryOperator
- All Superinterfaces:
IntUnaryOperator
,Throwables.IntUnaryOperator<RuntimeException>
public interface IntUnaryOperator
extends Throwables.IntUnaryOperator<RuntimeException>, IntUnaryOperator
Refer to JDK API documentation at: https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html
- Since:
- 0.8
- Author:
- Haiyang Li
-
Method Summary
Modifier and TypeMethodDescriptiondefault IntUnaryOperator
andThen
(IntUnaryOperator after) int
applyAsInt
(int operand) Apply as int.default IntUnaryOperator
compose
(IntUnaryOperator before) static IntUnaryOperator
identity()
-
Method Details
-
applyAsInt
int applyAsInt(int operand) Description copied from interface:Throwables.IntUnaryOperator
Apply as int.- Specified by:
applyAsInt
in interfaceIntUnaryOperator
- Specified by:
applyAsInt
in interfaceThrowables.IntUnaryOperator<RuntimeException>
- Parameters:
operand
-- Returns:
-
compose
- Specified by:
compose
in interfaceIntUnaryOperator
- Parameters:
before
-- Returns:
-
andThen
- Specified by:
andThen
in interfaceIntUnaryOperator
- Parameters:
after
-- Returns:
-
identity
- Returns:
-