public static <R> LongFunction<R> longFunction(CheckedLongFunction<R> function) {
        return Unchecked.longFunction(function, Unchecked.RETHROW_ALL);
    }
Wrap a {@link CheckedLongFunction} in a {@link LongFunction}.
<p>
Example:
<pre><code>
LongStream.of(1L, 2L, 3L).mapToObj(Unchecked.longFunction(l -> {
    if (l &lt; 0L)
        throw new Exception("Only positive numbers allowed");

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