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()
DictionaryProvider
getDictionaryIds
in interface DictionaryProvider
public Dictionary lookup(long id)
DictionaryProvider
lookup
in interface DictionaryProvider
Copyright © 2023 The Apache Software Foundation. All rights reserved.