title: Converting non-generic List type to Generic List type in Java 1.5
body: <p>I have a List that is guaranteed to contain just one type object.  This is created by some underlying code in a library that I cannot update.   I want to create a List&lt;ObjectType&gt; based on the incoming List object so that my calling code is talking to List&lt;ObjectType&gt;.</p>
  
  <p>What's the best way to convert the List (or any other object collection) to a List&lt;ObjectType&gt;.</p>