News

Guava brings filtering and transformation on collections to standard Java and that is the subject of this post. Guava’s Collections2 class features two public methods, both of which are static.
Why should you use Collections class methods rather than similarly named fields to obtain empty collections? Type safety makes the crucial difference.