UnambiguousConverterMap¶
-
public class
UnambiguousConverterMap
<WireType> implements ConverterSelectionStrategy<WireType>¶ - Author
swrede, jmoringe
- Parameters
<WireType> –
Methods¶
addConverter¶
-
public void
addConverter
(String key, Converter<WireType> converter)¶ Adds a new converter to this map which will be registered under a given key.
- Parameters
key – the key
converter – the converter
- Throws
IllegalArgumentException – in case there already is a converter with the specified key