title: Java. Best procedure to de-serialize a Java generic object?
body: <p>What is the best procedure for storing and retrieving, using native Java serialization, generic objects like <code>ArrayList&lt;String&gt;</code>?</p>
  
  <p>Edit:  To clarify.  When I serialize an object of type <code>ArrayList&lt;String&gt;</code> I'd like to de-serialize to the same type of object.  However, I know of no way to cast back to this generic object without causing warnings.</p>