|
|
|
|
|
by hraberg
5351 days ago
|
|
With Enumerable.java you can use Guava like this (+ static imports): List<String> strings = transform(list("hello", "world"),
function(s, s.toUpperCase()));
assertEquals(list("HELLO", "WORLD"), strings);
https://github.com/hraberg/enumerable |
|