G
Guinness Mann
I have a class that I use throughout my application, and I store
collections of my class in an ArrayList. To avoid some really ugly
casting I'd like to subclass ArrayList to get a typed version.
Has anyone done this? Do you have any advice for me? How about some
sample code?
collections of my class in an ArrayList. To avoid some really ugly
casting I'd like to subclass ArrayList to get a typed version.
Has anyone done this? Do you have any advice for me? How about some
sample code?