Skip to content
Advertisement

java streams java.util.stream.ReferencePipeline$3@7291c18f

I have three layers and I want to reach students names using streams from Project. I can reach them from Group. How could I do that from Project.

JavaScript
JavaScript
JavaScript

From Group it works fine.

JavaScript

But when I want do it from Project and run something like this:

JavaScript

I get this: java.util.stream.ReferencePipeline$3@7291c18f

Advertisement

Answer

If I correctly understand your task, you need this stream:

JavaScript

With this source List:

JavaScript

I got the output:

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement