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

Packages that use Supplier
com.google.common.base Miscellaneous common util classes and annotations. 
com.google.common.collect This package contains generic collection interfaces and implementations, and other utilities for working with collections. 
 

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> first)
          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.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> first)
          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.synchronizedSupplier(Supplier<T> delegate)
          Returns a supplier whose get() method synchronizes on delegate before calling it, making it thread-safe.
 

Uses of Supplier in com.google.common.collect
 

Methods in com.google.common.collect with parameters of type Supplier
static
<K,V> ListMultimap<K,V>
Multimaps.newListMultimap(java.util.Map<K,java.util.Collection<V>> map, Supplier<? extends java.util.List<V>> factory)
          Creates a new ListMultimap that uses the provided map and factory.
static
<K,V> Multimap<K,V>
Multimaps.newMultimap(java.util.Map<K,java.util.Collection<V>> map, Supplier<? extends java.util.Collection<V>> factory)
          Creates a new Multimap that uses the provided map and factory.
static
<K,V> SetMultimap<K,V>
Multimaps.newSetMultimap(java.util.Map<K,java.util.Collection<V>> map, Supplier<? extends java.util.Set<V>> factory)
          Creates a new SetMultimap that uses the provided map and factory.
static
<K,V> SortedSetMultimap<K,V>
Multimaps.newSortedSetMultimap(java.util.Map<K,java.util.Collection<V>> map, Supplier<? extends java.util.SortedSet<V>> factory)
          Creates a new SortedSetMultimap that uses the provided map and factory.
 



Copyright © 2007-2009 Google. All Rights Reserved.