One can only use reference types as the Type argument while using generics. You can make your own generic classes but cannot use primitives as Type arguments. You can use their wrappers as Type arguments and put the primitives directly into the ArrayList with the help of autoboxing.
SCJP 5.0 and now fighting with ExtJS
Think of how stupid the average person is. And how half of them are stupider than that. But who reads this tiny ad?