[Solved] Concat parameters from object list


You are missing the map operator here. You have to add map operator to the stream processing pipeline before collecting it. Here’s how it looks.

objList.stream().map(Obj::val).collect(Collectors.joining("."));

solved Concat parameters from object list