public static <T> UnaryOperator<T> unaryOperator(CheckedUnaryOperator<T> operator) {
        return Unchecked.unaryOperator(operator, Unchecked.RETHROW_ALL);
    }
Wrap a {@link CheckedUnaryOperator} in a {@link UnaryOperator}.
<p>
Example:
<pre><code>
Stream.of("a", "b", "c").map(Unchecked.unaryOperator(s -> {
    if (s.length() > 10)
        throw new Exception("Only short strings allowed");

    return s;
}));
</code></pre>
jOOL-java-8/src/main/java/org/jooq/lambda/Sneaky.java