Collection常用List Set Queue Map常用HashMap TreeMap等 用for循环遍历集合,也可以用iterator迭代器遍历。 转载于:https://my.oschina.net/u/3708600/blog/1563432