Difficulties of recursion with Streams

David Alayachew davidalayachew at gmail.com
Tue Nov 11 03:43:16 UTC 2025


And to clarify, the closest I have ever gotten has been when I happen to
know the "depth" of recursion ahead of time. But even then, the best I can
do is call as many flatMap's as there are levels, and that can get
untenable when dealing with recursion that can go down many levels.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20251110/6f3d1738/attachment.htm>


More information about the core-libs-dev mailing list