3 ms·
For reference: it's type erasure.
by rad_gruchalski 4y ago
For reference: it's type erasure.
- V-2 4y agoYes, exactly. T always becomes Object in runtime, type information is physically gone.
- kaba0 4y agoNot quite true, one pedantic point of mine is that it may be a concrete class if that was marked as T’s superclass, the other is less nitpicky, generic information is actually available at the component itself, so plenty of tools can use it in certain circumstances.