一佳一

记录像1+1一样简洁的代码

导航

2011年2月12日

摘要: 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 一佳一 阅读(244) 评论(1) 推荐(1) 编辑