/** * Define a supplier to be applied * * @param supplier supplier */ public void withSupplier(Supplier<List<R>> supplier) { withFunction(s -> supplier.get()); } }
/** * Define a supplier to be applied * * @param supplier supplier */ public void withSupplier(Supplier<List<R>> supplier) { withFunction(s -> supplier.get()); } }