LambdaJ 的主要目的是简化对集合的操作。在迭代集合时,特别是在嵌套循环阶段,很容易出错,使代码的可读性变的很糟糕。而该库的目的就是来缓解这些问题。
示例代码:[code]List sortedByAgePersons = sort(persons, on(Person.class).getAge());[/code]主页:http://code.google.com/p/lambdaj/
下载:http://code.google.com/p/lambdaj/downloads/list
来自:开源中国社区