ilya.gorbunov
09/14/2016, 6:32 PMArray<Smth> -> Array<*>
, it's not possible to assign Array<Smth<T>>
to Array<Smth<*>>
because the latter is invariant. And one have to use a covariant projection Array<out Smth<*>>
instead to be able to pass Array<Smth<T>>
to it.