publicT[] makeArray(int size)
{
return new T[size]; // compiler error. why? because Java sucks
}
Sunday, November 23, 2008
Stupid Type Erasure
I want to create a freaking generic array, dang it!
Labels:
angry,
generic array,
Java,
Java sucks,
programming,
Studip,
Type Erasure
Subscribe to:
Posts (Atom)