|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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
|
Suppliers.compose(Function<K,V> function,
Supplier<? extends K> first)
Returns a new Supplier which is the composition of the Function function and the Supplier first. |
|
static
|
Suppliers.memoize(Supplier<T> delegate)
Returns a Supplier which delegates to the given Supplier
on the first call to get(), records the value returned, and returns this
recorded value on all subsequent calls to get(). |
|
static
|
Suppliers.ofInstance(T instance)
Returns a Supplier that always supplies instance. |
|
| Methods in com.google.common.base with parameters of type Supplier | ||
|---|---|---|
static
|
Suppliers.compose(Function<K,V> function,
Supplier<? extends K> first)
Returns a new Supplier which is the composition of the Function function and the Supplier first. |
|
static
|
Suppliers.memoize(Supplier<T> delegate)
Returns a Supplier which delegates to the given Supplier
on the first call to get(), records the value returned, and returns this
recorded value on all subsequent calls to get(). |
|
| Uses of Supplier in com.google.common.collect |
|---|
| Methods in com.google.common.collect with parameters of type Supplier | ||
|---|---|---|
static
|
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
|
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
|
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
|
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. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||