一佳一

记录像1+1一样简洁的代码
随笔 - 396, 文章 - 0, 评论 - 95, 阅读 - 107万

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

02 2011 档案

摘要:public CAggregate clone(){ CAggregate newObj = new CAggregate(); //newObj.list = this.list; newObj.list = new ArrayList(); for(int i = 0 ; i &lt; this.list.length ; i++) { newObj.list[i] = this.list[i]; } return newObj;} 阅读全文

posted @ 2011-02-12 12:21 一佳一 阅读(248) 评论(1) 推荐(1) 编辑

点击右上角即可分享
微信分享提示