We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
Attempts to create a Converter instance, capable to handle
conversion between the given presentation and model types.
An empty Optional is returned if a conversion cannot be
performed.
Type Parameters:
P - The presentation type.
M - The model type.
Parameters:
presentationType - presentation type, not null.
modelType - model type, not null.
Returns:
a Converter instance wrapped into an Optional, or
an empty Optional if no suitable converter is available.