3 ms·
Yes, deeper immutability and interfaces, but it also allows you use method references. Getting all the x components of a collection of Foo is just: foos.st
by pron 7y ago
Yes, deeper immutability and interfaces, but it also allows you use method references. Getting all the x components of a collection of Foo is just:
foos.stream().map(Foo::x)