When an interface takes two generic wildcard types (i.e. "?"), it is not (always) possible to use a specialized Functional Interface instead.
Refactor this code to use the more specialized Functional Interface ‘UnaryOperator<?>’
It is not possible, the first "?" is not necessarily the same as the second "?".