3 ms·
> Try making an ArrayList<int> or a Integer[] Yes and that is due to boxing/unboxing. This is also being worked on. And while you indeed can’t check the gener
by kaba0 5y ago
> Try making an ArrayList<int> or a Integer[]
Yes and that is due to boxing/unboxing. This is also being worked on.
And while you indeed can’t check the generic type of a generic object, I really rarely see any reason for that. Like, if you have written code in any language without reflection, you can’t do that for any object and it is not a hindrance in itself.