News
Using generics with objects of any type We can declare a generic type in any class we create. It doesn’t need to be a collection type. In the following code example, we declare the generic type ...
Collection classes that implement Iterable (for example, all list and set classes) now have a forEach() method. This method takes a single parameter that is a functional interface.
In part 1 of GS Collections by Example, I demonstrated several different ways to filter a collection in GS Collections using select and selectWith. In order to call select, we passed in a ...
Donald Raab, creator of GS Collections, open sourced by Goldman Sachs in 2012, reveals the power of that framework, and how together with Lambda expressions, it sprinkles Java with some of the ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results