Kotlin uses "in" and "out": https://kotlinlang.org/docs/generics.html