Interface ConfigurableProviderExpression<S,​D>

    • Method Detail

      • with

        ConfigurableConverterExpression<S,​D> with​(Provider<?> provider)
        Uses provider to instantiate an instance for destination property
         
           with(provider).<String>map(Src::getCustomer, Dest::setCustomer)
           with(req -> new Customer()).<Customer>map(Src::getCustomer, Dest::setCustomer)
         
         
        Parameters:
        provider - a provider instantiate destination property