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, ornullif 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:
iteratorin interfaceIterable<ConfigurationValueMapper<?>>
-
get
Description copied from interface:ConfigurationValueMapperProviderGets the value mapper for the specified type, ornullif none was found.- Specified by:
getin interfaceConfigurationValueMapperProvider- Type Parameters:
T- the target type- Parameters:
type- the target's type class- Returns:
- a
ConfigurationValueMapperornullif none was found
-
opt
Description copied from interface:ConfigurationValueMapperProviderReturns an optional value mapper for the specified type.- Specified by:
optin interfaceConfigurationValueMapperProvider- Type Parameters:
T- the target type- Parameters:
type- the target's type class- Returns:
- an
Optionalwith the value mapper or an empty one if none was found
-