Lines Matching refs:Supplier
46 public static <F, T> Supplier<T> compose( in compose()
47 Function<? super F, T> function, Supplier<F> first) { in compose()
54 implements Supplier<T>, Serializable {
56 final Supplier<? extends F> first;
59 Supplier<? extends F> first) { in SupplierComposition()
79 public static <T> Supplier<T> memoize(Supplier<T> delegate) { in memoize()
84 implements Supplier<T>, Serializable {
85 final Supplier<T> delegate;
89 MemoizingSupplier(Supplier<T> delegate) { in MemoizingSupplier()
122 public static <T> Supplier<T> memoizeWithExpiration( in memoizeWithExpiration()
123 Supplier<T> delegate, long duration, TimeUnit unit) { in memoizeWithExpiration()
128 implements Supplier<T>, Serializable {
129 final Supplier<T> delegate;
136 Supplier<T> delegate, long duration, TimeUnit unit) { in ExpiringMemoizingSupplier()
157 public static <T> Supplier<T> ofInstance(@Nullable T instance) { in ofInstance()
162 implements Supplier<T>, Serializable {
178 public static <T> Supplier<T> synchronizedSupplier(Supplier<T> delegate) { in synchronizedSupplier()
183 implements Supplier<T>, Serializable {
184 final Supplier<T> delegate;
186 ThreadSafeSupplier(Supplier<T> delegate) { in ThreadSafeSupplier()