3 ms·
With Enumerable.java you can use Guava like this (+ static imports): List<String> strings = transform(list("hello", "world"), function(s, s.toUppe
by hraberg 15y 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 https://github.com/hraberg/enumerable