public interface ConfigurationValueMapperProvider extends Iterable<ConfigurationValueMapper<?>>
ConfigurationValueMappers which are used in a Configuration.| Modifier and Type | Interface and Description |
|---|---|
static interface |
ConfigurationValueMapperProvider.Builder
Builder for a
ConfigurationValueMapperProvider. |
static class |
ConfigurationValueMapperProvider.Default |
| Modifier and Type | Method and Description |
|---|---|
static ConfigurationValueMapperProvider.Builder |
Builder()
Pseudo-constructor method to create a new empty
ConfigurationValueMapperProvider.Builder for a ConfigurationValueMapperProvider. |
static ConfigurationValueMapperProvider.Builder |
Default()
|
<T> ConfigurationValueMapper<T> |
get(Class<T> type)
Gets the value mapper for the specified type, or
null if none was found. |
static ConfigurationValueMapperProvider |
New(XGettingMap<Class<?>,ConfigurationValueMapper<?>> table)
Pseudo-constructor method to create a new
ConfigurationValueMapperProvider. |
<T> Optional<ConfigurationValueMapper<T>> |
opt(Class<T> type)
Returns an optional value mapper for the specified type.
|
forEach, iterator, spliterator<T> ConfigurationValueMapper<T> get(Class<T> type)
null if none was found.T - the target typetype - the target's type classConfigurationValueMapper or null if none was found<T> Optional<ConfigurationValueMapper<T>> opt(Class<T> type)
T - the target typetype - the target's type classOptional with the value mapper or an empty one if none was foundstatic ConfigurationValueMapperProvider.Builder Builder()
ConfigurationValueMapperProvider.Builder for a ConfigurationValueMapperProvider.static ConfigurationValueMapperProvider.Builder Default()
ConfigurationValueMapperProvider.Builder for a ConfigurationValueMapperProvider,
with all value mappers which are provided by default for the following types:
static ConfigurationValueMapperProvider New(XGettingMap<Class<?>,ConfigurationValueMapper<?>> table)
ConfigurationValueMapperProvider.table - the provided ConfigurationValueMappersConfigurationValueMapperProviderCopyright © 2022 MicroStream Software. All rights reserved.