What would be the equivalent in kotlin of `StringB...
# announcements
d
What would be the equivalent in kotlin of
StringBuilder::new
in Java? For example in the following.
Copy code
(new ArrayList<String>()).parallelStream().map(StringBuilder::new).collect(Collectors.toList())
Kotlin code conversion seems to provide the following lambda in place of map
Copy code
.map { StringBuilder(it) }