Class ConfigurationValueMapper.Default<T>
java.lang.Object
one.microstream.configuration.types.ConfigurationValueMapper.Default<T>
- All Implemented Interfaces:
ConfigurationValueMapper<T>,ConfigurationValueMappingFunction<T>
- Enclosing interface:
- ConfigurationValueMapper<T>
public static class ConfigurationValueMapper.Default<T> extends Object implements ConfigurationValueMapper<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.configuration.types.ConfigurationValueMapper
ConfigurationValueMapper.Default<T> -
Method Summary
Modifier and Type Method Description Tmap(Configuration config, String key, String value)Maps the given value of aConfigurationto the target type.Class<T>type()
-
Method Details
-
type
- Specified by:
typein interfaceConfigurationValueMapper<T>
-
map
Description copied from interface:ConfigurationValueMappingFunctionMaps the given value of aConfigurationto the target type.- Specified by:
mapin interfaceConfigurationValueMappingFunction<T>- Parameters:
config- source configurationkey- the assigned keyvalue- the value to map- Returns:
- the mapped value
-