Home | History | Annotate | Download | only in base

Lines Matching refs:Function

40    * Returns a new supplier which is the composition of the provided function
43 * {@code function} to that value. Note that the resulting supplier will not
44 * call {@code first} or invoke {@code function} until it is called.
47 Function<? super F, T> function, Supplier<F> first) {
48 Preconditions.checkNotNull(function);
50 return new SupplierComposition<F, T>(function, first);
55 final Function<? super F, ? extends T> function;
58 SupplierComposition(Function<? super F, ? extends T> function,
60 this.function = function;
64 return function.apply(first.get());