Re: How can we use cases can utilize Java generics to replace the use of Object instances.

2010-05-06 Thread Gal Dolber
You can define an empty interface and make it serializable so the ArrayList will be serializable. Then be sure that every object you want to put into that collection implement that interface. 2010/5/4 Love Yao > The class java.lang.Object is not serializable, therefore you cannot > expect that a

How can we use cases can utilize Java generics to replace the use of Object instances.

2010-05-06 Thread Love Yao
The class java.lang.Object is not serializable, therefore you cannot expect that a collection of Object types will be serialized across the wire. As of GWT 1.5, most use cases can utilize Java generics to replace the use of Object instances. can anyone give examples -- You received this message