public final class UnaryOperators extends Object
UnaryOperator
interface.Modifier and Type | Method and Description |
---|---|
static <T> UnaryOperator<T> |
identity()
Returns a unary operator that always returns its input argument.
|
public static <T> UnaryOperator<T> identity()
T
- the type of the input and output of the operatorCopyright © 2016. All rights reserved.