会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
代码改变世界
Cnblogs
Dashboard
Login
Home
Contact
Gallery
Subscribe
RSS
红色闪电
随笔档案-2014年12月
使用Iteraotor快速遍历链表
2014-12-17 19:57 by 红色闪电, 274 阅读,
收藏
,
摘要: 使用java中提供的Iterator接口,可以快速遍历链表和其他集合而不用知道集合结构。import java.util.ArrayList;import java.util.Iterator;public class Arr { public static void main(String[] a...
阅读全文
0 Comment
About