What is the best procedure for storing and retrieving, using native Java serialization, generic objects like ArrayList<String>
?
Edit: To clarify. When I serialize an object of type ArrayList<String>
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.