List<out T> is like List<? extends T> in Java
and
List<in T> is like List<? super T> in Java
For example in Kotlin you can do things like
val value : List<Any> = listOf(1,2,3)
//since List signature is List<out T> in Kotlin
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…