static List<Test<List<Integer>>> tests =
new ArrayList<Test<List<Integer>>>();
static List<Test<LinkedList<Integer>>> qTests =
new ArrayList<Test<LinkedList<Integer>>>();
Crazy.
This is a purely technical blog concerning topics such as Python, Ruby, Dart, Linux, open source software, the Web, and lesser-known programming languages.
Ad maiorem Dei gloriam inque hominum salutem.
static List<Test<List<Integer>>> tests =
new ArrayList<Test<List<Integer>>>();
static List<Test<LinkedList<Integer>>> qTests =
new ArrayList<Test<LinkedList<Integer>>>();
Crazy.
1 comment:
Crazy is not nearly a violent enough word to describe how I feel when I see code like this. It's just more proof that Java Generics is one of the worst additions to the language ever. Take a look through the 1.5 JavaDocs if you want to see another reason why generics are such a piece of crap.
Post a Comment