Archive for the 'Google collections' Category
Creating a fluent interface for Google Collections
6 Comments Published October 17th, 2007 in Fluent Interface, Google collections, Groovy and Grails, JavaChris wrote about functional programming in Java. As an example he used Google Collections which “is a suite of new collections and collection-related goodness for Java 5.0″.
Looking at his post he gives the following code on how to use Goolge Collections
files = Iterables.transform(
Iterables.filter(
Iterables.filter(getPagesList(),WebPage.class),undeletedPages),
new PagesToFilesTransformation()))
This […]