摘要: 接口 Iterator<E> public interface Iterator<E> 对 collection 进行迭代的迭代器。 常用方法 boolean hasNext() 如果有元素可以迭代,返回true。 E next() 返回下一个元素。 void remove() 从迭代器指向的 co 阅读全文
posted @ 2019-04-22 15:04 十二朵向日葵 阅读(229) 评论(0) 推荐(0) 编辑