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()
Get all dictionary IDs.
|
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 final Set<Long> getDictionaryIds()
DictionaryProvidergetDictionaryIds in interface DictionaryProviderpublic Dictionary lookup(long id)
DictionaryProviderlookup in interface DictionaryProviderCopyright © 2023 The Apache Software Foundation. All rights reserved.