Parameterized ArrayList in 1.5 but not in 1.4
I've been doing a lot of reading on the discussion about JDK 1.5 and JDK 1.4 here. I think I've dug myself into a hole that will be very hard to get out of. And yes, it's my fault, but this is my first time developing a real J2EE application... sigh.
Here's the problem: I have 3 months' of work written and compiled using JDK 1.5. The Tomcat server we run (that can NOT be modified) uses JDK 1.4. I stupidly did not bother finding that out before I wrote all this code. I've analyzed my code, and the only thing that does not compile is parameterization. I use Hashtables, ArrayLists, etc etc. Those two actually account for over 60% of my data structures.
In 1.5 ArrayList<String, String[]>
was acceptable. This is not true in 1.4. I may have to resort to rewriting this code. But I am hoping there is another solution. Does anybody know what I can do, perhaps write my own data structure that can be parameterized in 1.4? Or is there something else I can use?
Thanks for the feedback.. and you may have to give me examples, I'm just a beginner heh.

