![Scala: How to define a generic method parameter that must extend a base type (bounds) | alvinalexander.com Scala: How to define a generic method parameter that must extend a base type (bounds) | alvinalexander.com](https://alvinalexander.com/sites/default/files/inline-images/scala-method-generic-type-extends-base.png)
Scala: How to define a generic method parameter that must extend a base type (bounds) | alvinalexander.com
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
![android - Kotlin Upper Bound: What difference does `:Any` make to Kotlin's generic type inference? - Stack Overflow android - Kotlin Upper Bound: What difference does `:Any` make to Kotlin's generic type inference? - Stack Overflow](https://i.stack.imgur.com/5w7uy.png)