Modifier and Type | Class and Description |
---|---|
static class |
Provider.util.Dispatch<Q,X> |
static class |
Provider.util.Memoize<Q,X> |
static interface |
Provider.util.MemoizingProvider<Q,X> |
static class |
Provider.util.SimpleMappingProvider<Q,X> |
static class |
Provider.util.VaryLocale<Q,X> |
Constructor and Description |
---|
util() |
Modifier and Type | Method and Description |
---|---|
static <Q,X> Provider<Q,X> |
dispatch(Iterable<? extends Provider<Q,X>> dispatch) |
static <Q,X> Provider<Q,X> |
empty() |
static <Q,X> Provider.util.MemoizingProvider<Q,X> |
memoize(Provider<Q,X> provider)
provider.get(query) must not mutate query
|
static <X> Provider<Locale,X> |
varyLocale(Provider<Locale,X> delegate) |
static <Q,X> Provider<Q,X> |
varyLocale(Provider<Q,X> delegate,
com.google.common.base.Function<Q,Locale> getLocale,
util.Function2<Q,Locale,Q> assocLocale) |
public static <Q,X> Provider<Q,X> empty()
public static <Q,X> Provider.util.MemoizingProvider<Q,X> memoize(Provider<Q,X> provider)
public static <Q,X> Provider<Q,X> varyLocale(Provider<Q,X> delegate, com.google.common.base.Function<Q,Locale> getLocale, util.Function2<Q,Locale,Q> assocLocale)
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.