maxim
07/18/2017, 11:25 AMclass Generic<T>(private val value : T)
, i made 2 methods with signatures fun <T: Number> doThing(o : Generic<T>)
and fun doThingDiff(o : Generic<out Number>)
They behave the same when I try creating different instances of generic, I am wondering if those method signatures mean the same thing or if I am missing something. And if they are the same - which is to prefer and when?