集合容器

1.常用集合List、Set、Map     List、Set为一个分支Map为另外一个分支(如上图)List、Set  继承Collection、而Collection继承Iterable 2.Iterable     所有集合的的父类 、实现所有Iterable的类都可以有:  增强for循环(foreach)   iterator()迭代器: hasNext():是否存在下一项 next()
相关文章
相关标签/搜索