T - the type of the operand and result of the operator.@FunctionalInterface public interface IOUnaryOperator<T> extends IOFunction<T,T>
UnaryOperator but throws IOException.UnaryOperator,
IOFunction| Modifier and Type | Method and Description |
|---|---|
default UnaryOperator<T> |
asUnaryOperator()
|
static <T> IOUnaryOperator<T> |
identity()
Creates a unary operator that always returns its input argument.
|
static <T> IOUnaryOperator<T> identity()
identity in interface IOFunction<T,T>T - the type of the input and output of the operator.default UnaryOperator<T> asUnaryOperator()
Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.