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.

[1096 byte] By [jhh3000a] at [2007-10-3 1:19:20]
# 1
Sorry but i think that the only solution is to rewrite everything !peacefred
suparenoa at 2007-7-14 18:16:32 > top of Java-index,Developer Tools,Java Compiler...
# 2
If you're still struggling with this, check out Retroweaver.I don't read this forum very often (like, once a month or something) so I'm unlikely to reply if you have any other queries.But I'll happily accept your dukes! :-)
dannyyatesa at 2007-7-14 18:16:32 > top of Java-index,Developer Tools,Java Compiler...