Re: ArrayList Restriction
Posted By:
Jagadeesh_Kumar
Posted On:
Monday, September 5, 2005 03:00 AM
Hi Shikar,
You cant restrict array list to add a specific primitive type like int, float etc. But u can just manually check the object type using IF condition before adding the type to arraylist.
Regards,
Jagadeesh