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 T
map(Configuration config, String key, String value)
Maps the given value of aConfiguration
to the target type.Class<T>
type()
-
Method Details
-
type
- Specified by:
type
in interfaceConfigurationValueMapper<T>
-
map
Description copied from interface:ConfigurationValueMappingFunction
Maps the given value of aConfiguration
to the target type.- Specified by:
map
in interfaceConfigurationValueMappingFunction<T>
- Parameters:
config
- source configurationkey
- the assigned keyvalue
- the value to map- Returns:
- the mapped value
-