Apache Commons Collections 4.0 发布,主要改进内容包括:
要求 Java 5 支持
源码和二进制不兼容 3.x 版本
使用了泛型以及 Java 5 的其他语言特性,如可变参数和迭代
移除了废弃的类和方法,这些类和方法已经被新的 JDK 所支持
使用 java.util.Queue 替代 Buffer 接口
Added concept of split maps with respective interfaces Put / Get (see also package splitmap)
Added new Trie interface together with an implementation of a Patricia Trie
完整的改进记录请看:
http://commons.apache.org/collections/changes-report.html
https://dist.apache.org/repos/dist/release/commons/collections/RELEASE-NOTES.txt
来自:开源中国社区

