/** * Alias for {@link CheckedFunction1#unchecked} * * @param <R> return type * @param <T1> type of the 1st argument * @param f A method reference * @return An unchecked wrapper of supplied {@link CheckedFunction1} */ public static <T1, R> Function1<T1, R> unchecked(CheckedFunction1<T1, R> f) { return f.unchecked(); }
/** * Alias for {@link CheckedFunction1#unchecked} * * @param <R> return type * @param <T1> type of the 1st argument * @param f A method reference * @return An unchecked wrapper of supplied {@link CheckedFunction1} */ public static <T1, R> Function1<T1, R> unchecked(CheckedFunction1<T1, R> f) { return f.unchecked(); }