01: /*
02: * MyGWT Widget Library
03: * Copyright(c) 2007, MyGWT.
04: * licensing@mygwt.net
05: *
06: * http://mygwt.net/license
07: */
08: package net.mygwt.ui.client.data;
09:
10: import java.util.ArrayList;
11: import java.util.Collection;
12:
13: import com.google.gwt.user.client.rpc.IsSerializable;
14:
15: /**
16: * A <code>ArrayList<code> that implements <code>IsSerializable</code>. GWT compiler
17: * throws an error when trying to assign a ArrayList as a Serializable instance.
18: */
19: public class DataList extends ArrayList implements IsSerializable {
20:
21: public DataList() {
22: super ();
23: }
24:
25: public DataList(Collection c) {
26: super(c);
27: }
28:
29: }
|