roookeee / datus

datus enables you to define a conversion process between two data structures in a fluent functional API
MIT License
41 stars 5 forks source link

Clarify Mapper.convertToMap behaviour on key collisions #17

Closed roookeee closed 5 years ago

roookeee commented 5 years ago

The JavaDoc does not state what happens when there is a key-collision for a given input collection. We should clarify that the last mapped value is retained in the result map and any other behaviour should be implemented via the conversionStream function which offers all other alternatives through the Collectors.toMap collector

roookeee commented 5 years ago

Fixed in branch issue-17

roookeee commented 5 years ago

Merged into develop