Assume we have a list as follows. CoreResult has a field of type List.
CoreResult
List
final List list = new LinkedList
Option 3 and 2 is same, so up to you if you want to map first and then flat map or just flatmap.
With option 1 you have to open another stream to perform further operations.