Package com.landawn.abacus.util.function
Interface UnaryOperator<T>
- All Superinterfaces:
Function<T,
,T> Function<T,
,T> Throwables.Function<T,
,T, RuntimeException> Throwables.UnaryOperator<T,
,RuntimeException> UnaryOperator<T>
public interface UnaryOperator<T>
extends Function<T,T>, Throwables.UnaryOperator<T,RuntimeException>, UnaryOperator<T>
Refer to JDK API documentation at: https://docs.oracle.com/javase/8/docs/api/java/util/function/package-summary.html
- Author:
- Haiyang Li
-
Method Summary
Modifier and TypeMethodDescriptiondefault UnaryOperator<T>
andThen
(UnaryOperator<T> after) default UnaryOperator<T>
compose
(UnaryOperator<T> before) static <T> UnaryOperator<T>
identity()
default <E extends Throwable>
Throwables.UnaryOperator<T,E> Methods inherited from interface com.landawn.abacus.util.Throwables.Function
apply, unchecked
-
Method Details
-
compose
- Parameters:
before
-- Returns:
-
andThen
- Parameters:
after
-- Returns:
-
identity
-
toThrowable
- Specified by:
toThrowable
in interfaceFunction<T,
T> - Type Parameters:
E
-- Returns:
-