public static <T> Function<Object, T> forSupplier(Supplier<T> supplier) {
    return new SupplierFunction<T>(supplier);
  }
public static <T> Function<Object, T> forSupplier(Supplier<T> supplier) {
    return new SupplierFunction<T>(supplier);
  }
public static < T > Function < Object , T > forSupplier ( Supplier < T > supplier ) { return new SupplierFunction < T > ( supplier ) ; }
Returns a function that ignores its input and returns the result of {@code supplier.get()}.

<p><b>Java 8 users:</b> use the lambda expression {@code o -> supplier.get()} instead.

@since 10.0
Returns a function that ignores its input and returns the result of { @code supplier . get () } .