![sorting - java - how to make generic function that sorts alphabetically a collection - Stack Overflow sorting - java - how to make generic function that sorts alphabetically a collection - Stack Overflow](https://i.stack.imgur.com/hMlcB.png)
sorting - java - how to make generic function that sorts alphabetically a collection - Stack Overflow
Tagir Valeev on Twitter: "Holy cow! It really works! You can have a checked list in #Java without passing explicit .class object to the constructor! Who said Java has no reified generic
![kotlin - How to pass Generic Interface T to function with class reference as parameter - Stack Overflow kotlin - How to pass Generic Interface T to function with class reference as parameter - Stack Overflow](https://i.stack.imgur.com/wdPmW.png)