title: Is it possible to use generics in lists in Java 1.4?
body: <p>I have to use Java 1.4 and am using arraylist structures. Now I need to do some re-factoring and it would help if I can use Generics. Currently I have code like this</p>
  
  <pre><code>ArrayList rows = new ArrayList();
  </code></pre>
  
  <p>Which is a straightforward ArrayList. But now the "rows" variable is becoming more complex and need to define a "Row" class. I now want to do something like what you see in J2SE 1.5</p>
  
  <pre><code>ArrayList&lt;Row&gt; rows = new ArrayList();
  </code></pre>
  
  <p>A trawl through Google doesn't expose any answers without some sophisticated use of 3rd party solutions. How would my code have to change to accommodate this in 1.4, without using 3rd party solutions/open source projects, (if possible)? </p>