elye
11/01/2017, 1:29 AMassociateBy
function could be use on a list to enable it to convert a list to map. However, if there's duplicate entry, we would like to convert list to map-of-list as per https://stackoverflow.com/questions/47046263/kotlin-how-to-convert-list-to-map-with-list. Any elegant methods from Kotlin to do so?