Class ConfigurationValueMapperProvider.Default
java.lang.Object
one.microstream.configuration.types.ConfigurationValueMapperProvider.Default
- All Implemented Interfaces:
Iterable<ConfigurationValueMapper<?>>
,ConfigurationValueMapperProvider
- Enclosing interface:
- ConfigurationValueMapperProvider
public static class ConfigurationValueMapperProvider.Default extends Object implements ConfigurationValueMapperProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.configuration.types.ConfigurationValueMapperProvider
ConfigurationValueMapperProvider.Builder, ConfigurationValueMapperProvider.Default
-
Method Summary
Modifier and Type Method Description <T> ConfigurationValueMapper<T>
get(Class<T> type)
Gets the value mapper for the specified type, ornull
if none was found.Iterator<ConfigurationValueMapper<?>>
iterator()
<T> Optional<ConfigurationValueMapper<T>>
opt(Class<T> type)
Returns an optional value mapper for the specified type.
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceIterable<ConfigurationValueMapper<?>>
-
get
Description copied from interface:ConfigurationValueMapperProvider
Gets the value mapper for the specified type, ornull
if none was found.- Specified by:
get
in interfaceConfigurationValueMapperProvider
- Type Parameters:
T
- the target type- Parameters:
type
- the target's type class- Returns:
- a
ConfigurationValueMapper
ornull
if none was found
-
opt
Description copied from interface:ConfigurationValueMapperProvider
Returns an optional value mapper for the specified type.- Specified by:
opt
in interfaceConfigurationValueMapperProvider
- Type Parameters:
T
- the target type- Parameters:
type
- the target's type class- Returns:
- an
Optional
with the value mapper or an empty one if none was found
-