I\'m playing around with some code katas and trying to get a better understanding of java generics at the same time. I\'ve got this little method that prints arrays like I l
You will probably have to wrap the primitives into corresponding collections.
I also suggest to take a look to Trove primitive collections (http://trove.starlight-systems.com). This is unrelated to your generics question, but may be quite interesting.