G
Guest
Hi,
I want to have an array/arraylist of a user defined class. This class just
holds a number of queue collections.
For efficiency I want my arraylist/array to be type safe to avoid
boxing/unboxing.
I was wondering what is the best way to achieve this. I know my
arraylist/array will hold only one type of data(i.e. instances of my user
defined class).
Is it overkill to use generics for this and should i create my own type safe
arrayList/array or should I use Generics anyway?
Thanks
Macca
I want to have an array/arraylist of a user defined class. This class just
holds a number of queue collections.
For efficiency I want my arraylist/array to be type safe to avoid
boxing/unboxing.
I was wondering what is the best way to achieve this. I know my
arraylist/array will hold only one type of data(i.e. instances of my user
defined class).
Is it overkill to use generics for this and should i create my own type safe
arrayList/array or should I use Generics anyway?
Thanks
Macca