Uses of Interface
com.google.common.base.Supplier

Packages that use Supplier
com.google.common.base Basic utility libraries and interfaces. 
 

Uses of Supplier in com.google.common.base
 

Methods in com.google.common.base that return Supplier
static
<F,T> Supplier<T>
Suppliers.compose(Function<? super F,T> function, Supplier<F> supplier)
          Returns a new supplier which is the composition of the provided function and supplier.
static
<T> Supplier<T>
Suppliers.memoize(Supplier<T> delegate)
          Returns a supplier which caches the instance retrieved during the first call to get() and returns that value on subsequent calls to get().
static
<T> Supplier<T>
Suppliers.memoizeWithExpiration(Supplier<T> delegate, long duration, java.util.concurrent.TimeUnit unit)
          Returns a supplier that caches the instance supplied by the delegate and removes the cached value after the specified time has passed.
static
<T> Supplier<T>
Suppliers.ofInstance(T instance)
          Returns a supplier that always supplies instance.
static
<T> Supplier<T>
Suppliers.synchronizedSupplier(Supplier<T> delegate)
          Returns a supplier whose get() method synchronizes on delegate before calling it, making it thread-safe.
 

Methods in com.google.common.base with parameters of type Supplier
static
<F,T> Supplier<T>
Suppliers.compose(Function<? super F,T> function, Supplier<F> supplier)
          Returns a new supplier which is the composition of the provided function and supplier.
static
<T> Supplier<T>
Suppliers.memoize(Supplier<T> delegate)
          Returns a supplier which caches the instance retrieved during the first call to get() and returns that value on subsequent calls to get().
static
<T> Supplier<T>
Suppliers.memoizeWithExpiration(Supplier<T> delegate, long duration, java.util.concurrent.TimeUnit unit)
          Returns a supplier that caches the instance supplied by the delegate and removes the cached value after the specified time has passed.
static
<T> Supplier<T>
Suppliers.synchronizedSupplier(Supplier<T> delegate)
          Returns a supplier whose get() method synchronizes on delegate before calling it, making it thread-safe.
 



Copyright © 2010 Google. All Rights Reserved.