Use from empty type parameters?

Saturday, July 12, 2014

I was recently porting a Java 7 project down to Java 6 and I a had some Arraylists being initialized with empty type parameters.


Of course it gave quite a few errors because of it only being allowed in Java 7


So then I was wondering; What use do I get from using empty type parameters?


ex.: new Arraylist <>();







http://ift.tt/1wdUmaP