Is there anything shorter than `Collections.unmodifiableList(someArray.toList())`?
m
Is there anything shorter than
Collections.unmodifiableList(someArray.toList())
?
l
miha-x64: Kotlin's `toList()`already returns a non mutable list.
m
@louiscad Not really. You can modify a list returned from
toList
in Java.