Function
for
the case where the operand and result are of the same type.
This is a functional interface
whose functional method is apply(Object)
.
Function
Modifier and Type | Method and Description |
---|---|
public static < the type of the input and output of the operator T> UnaryOperator | Returns: a unary operator that always returns its input argumentHides java. Returns a unary operator that always returns its input argument. |
identity | back to summary |
---|---|
public static <T> UnaryOperator Hides java. Returns a unary operator that always returns its input argument.
|