What is the purpose of UnaryOperator<T> functional interface in Java8?
It represents an operation on a single operand that produces a result of the same type as its operand.