public static <T1, T2, R> Supplier<R> partial(final T1 t1, final Function<T1, R> func) {
        return () -> func.apply(t1);
    }
public static < T1 , T2 , R > Supplier < R > partial ( final T1 t1 , final Function < T1 , R > func ) { return ( ) -> func . apply ( t1 ) ; }
Returns a function with 1 arguments applied to the supplied Function
@param t1 Generic argument
@param func Function
@param <T1> Generic argument type
@param <T2> Generic argument type

@param <R> Function generic return type
@return Function as a result of 2 arguments being applied to the incoming TriFunction