This change to the utility class is the first since the Collections Framework debuted in J2SE 1.2.
自从集合框架初次出现在 J2SE 1.2 中以来,人们第一次对实用工具类进行了更改。
One of the bigger changes to the 5.0 Collections Framework is the addition of the new base interface Queue.
集合框架较大的一个改变就是添加了新的基接口 Queue。
This way, container classes that do not build on the core collections framework can still take advantage of the new for-each loop.
这样,不是在核心集合框架上构建的容器类也能利用新的for - each循环。
应用推荐