I am trying to execute a stream list and process it.
class A { public List<B> bList; } List<A> aList; aList.stream().map(a -> a.bList)....
Here I get a few lists.
But I would like to collect all my b in only one list. Any ideas?
java java-8 java-stream
Clem
source share