https://kotlinlang.org logo
v

valdemar0204

06/08/2016, 6:32 AM
Hi guys. I want to read N objects from some source and make a list out of these object. What is the most hipster way to do this? My current solution is
(0 until size).toList().map { source.readString() }