iterator和iterable的区别

相关博客:  http://blog.csdn.net/lipengcn/article/details/51700153          Java中Iterable和Iterator的辨析      

                 http://www.cnblogs.com/softidea/p/5167676.html    Iterator、Iterable接口的使用及详解terator

个人理解:Iterable是一个顶级接口,集合体系中的所有集合类都直接或间接的实现了此接口,目的是为了都能使用里面的iterator方法(看图,理解会更好点)

原文地址:https://www.cnblogs.com/1020182600HENG/p/6707654.html