摘要:public CAggregate clone(){ CAggregate newObj = new CAggregate(); //newObj.list = this.list; newObj.list = new ArrayList(); for(int i = 0 ; i < this.list.length ; i++) { newObj.list[i] = this.list[i]; } return newObj;}
阅读全文
posted @ 2011-02-12 12:21