iterator接口

 

Iterator用来做遍历,所有实现Collection接口的容器都有一个Iterator的方法以返回一个Iterator接口的对象

posted @ 2016-12-20 21:38  NobodyHero  阅读(96)  评论(0)    收藏  举报