code: public static <T, R> Function<T, R> ignore(Supplier<R> supplier, Class<T> ignored) {
          dbc.precondition(supplier != null, "cannot ignore parameter of a null supplier");
          return first -> supplier.get();
      }
docs: Adapts a supplier to a function by ignoring the passed parameter.
  
  @param <T> the adapted function parameter type
  @param <R> the adapted function result type
  @param supplier the supplier to be adapted
  @param ignored the adapted function ignored parameter type class
  @return the adapted function