Description
The IModel#mapWith method actually combines two models using a BiFunction. Thus another name like 'combineWith' would be much more descriptive of the actual task.
Furthermore providing the BiFunction to combine the two models as the first argument of 'mapWith'/'combineWith' might obscure the other Model used for longer lambda expressions, since it will be provided after the lambda expression. It might be better to provide the other Model as a first argument.
Attachments
Issue Links
- links to