摘要: 在Java1.5+中,foreach循环非常实用. 1 public class Demo <T> implements Iterable<T>, Iterator<T> { 2 T[] array; 3 int length; 4 int index; 5 6 Demo(T[] param){ 7 阅读全文
posted @ 2017-04-12 20:18 develon 阅读(638) 评论(0) 推荐(0) 编辑