Assuming I have a list of objects, each having a s...
# stdlib
d
Assuming I have a list of objects, each having a string field 'foo', is there a collection method that I can call on the list to create a concatenated string of all objects 'foo' strings? This is in lieu of looping through each item. Likewise, assuming I have a list of objects with type <pojo> fields, is there a one time method I can call on the list that that would create a new list of type <pojo> extracted from the parent list? I want to do this without iterating through each item.