How do I learn to use Java commons-collections?

我的未来我决定 提交于 2019-12-05 08:58:11

(Comment as answer for formatting purposes.)

Not so much, other than the limited user guide.

That said, I'm not sure where specifically you're having problems--filtering and selecting is mostly wrapped up in the functors package, and utilized by the CollectionUtils class.

While you're not looking for a replacement, you might find things like Guava or Lambda4J a bit more similar to what you're used to (within Java's constraints), and they're a bit less verbose.

Try these links :

http://commons.apache.org/collections/userguide.html (basic tutorial) http://larvalabs.com/collections/tutorial.html (advanced tutorial with generic)

@george-mauer, you might have to rely on articles like this or a book like Jakarta Commons Cookbook. I have also found it rather useful to learn by creating samples of my own.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!