public class DefaultCollector extends BasicCollector
| Constructor and Description |
|---|
DefaultCollector() |
| Modifier and Type | Method and Description |
|---|---|
Mustache.VariableFetcher |
createFetcher(Object ctx,
String name)
Creates a fetcher for a so-named variable in the supplied context object, which will
never be null.
|
<K,V> Map<K,V> |
createFetcherCache()
This should return a thread-safe map, either
Collections.synchronizedMap(java.util.Map<K, V>) called on
a standard Map implementation or something like ConcurrentHashMap. |
toIteratorpublic Mustache.VariableFetcher createFetcher(Object ctx, String name)
Mustache.Collectoroctx.getClass().equals(nctx.getClass().createFetcher in interface Mustache.CollectorcreateFetcher in class BasicCollectorpublic <K,V> Map<K,V> createFetcherCache()
BasicCollectorCollections.synchronizedMap(java.util.Map<K, V>) called on
a standard Map implementation or something like ConcurrentHashMap.createFetcherCache in interface Mustache.CollectorcreateFetcherCache in class BasicCollectorCopyright © 2016. All rights reserved.