Java
文章平均质量分 67
CalvinWang
C Sharp 学习讨论群:367470625
展开
-
几种遍历 List 的方法
遍历 List 的方法: 1. for 2. advanced for 3. Iterator 4. while 5. ListIterator List list 1. for for (int i = 0; i E element = list.get(i); } 2. advanced for for (E element : list) {原创 2015-01-09 17:14:32 · 692 阅读 · 0 评论 -
关於 Parcelable 实作以及继承
看例子 class Shape implements Parcelable { public int left; public int top; public int width; public int height; // CREATOR part is omitted protected Shape(Parcel in) { readFromParce翻译 2015-01-11 13:40:34 · 2408 阅读 · 0 评论