Are there any good libraries of functions to use with collections in Java, such as [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this questionAre there any good libraries of functions to use with collections in Java. I'm thinking along the lines of implementations of partition, take, drop, takeWhile, dropWhile, map, filter,开发者_Python百科 reduce...? I can write them myself, but it feels like re-inventing the wheel.
Thanks, Alex
Lambdaj is awesome.
Google Collections (Guava) is great! Collections2
and Iterables
are utility classes worth looking at. They both have a filter and transform (like map) method, among many other things.
apache Commons-Collections
精彩评论