Actually toMutableList is not guaranteed to provide an arraylist.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How can java.util.ArrayList inherit from MutableList | 1 | 3687 | January 9, 2018 | |
How to convert this java code: collect(ArrayList::new, ArrayList::add, ArrayList::addAll); | 7 | 5604 | May 26, 2017 | |
Avoiding mutation while working with collection | 4 | 2093 | July 14, 2021 | |
Merge 2 Arraylist<Int> in One ArrayList<int> | 3 | 5953 | May 6, 2020 | |
Faster Collection.map{} function by 44% | 8 | 1488 | May 5, 2024 |