public static class DictionaryProvider.MapDictionaryProvider extends Object implements DictionaryProvider
DictionaryProvider that is backed by a hash-map.DictionaryProvider.MapDictionaryProvider| Constructor and Description |
|---|
MapDictionaryProvider(Dictionary... dictionaries)
Constructs a new instance from the given dictionaries.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Long> |
getDictionaryIds() |
Dictionary |
lookup(long id)
Return the dictionary for the given ID.
|
void |
put(Dictionary dictionary) |
public MapDictionaryProvider(Dictionary... dictionaries)
public void put(Dictionary dictionary)
public Dictionary lookup(long id)
DictionaryProviderlookup in interface DictionaryProviderCopyright © 2020 The Apache Software Foundation. All rights reserved.