Use this tag for questions related to the act of gathering/collecting/grouping data/results from several nodes/places/computers to one (or main) resource(s).
Most ruby developers know how to save a few keystrokes by doing something like this: array.map(&:methodname) rather …
ruby dictionary hash collectI thought I was getting pretty good at Java 8 streams, but then... I have a Foo interface: public interface Foo { …
java key java-stream collectI'm porting a piece of code from .NET to Java and stumbled upon a scenario where I want to use …
java dictionary java-8 java-stream collectI know that I can do a query for recent books based on an array as in scope :recent_books, …
ruby-on-rails ruby select model collectI was trying to convert this String r = ""; for ( Persona p : list ) { r += p.lastName; } To stream().filter.collect() form, …
java lambda java-stream collect