Collectors.toMap
handling for streams
#938
Merged
Collectors.toMap
handling for streams
#938