Closed amaembo closed 3 years ago
We have StreamEx.toList that returns a mutable list. However, Java 16 provides toList that returns an immutable list. We probably should introduce a breaking change to make toList immutable as well.
This appears to be a subset of the issue described in #244
Thanks! Indeed a duplicate :-)
We have StreamEx.toList that returns a mutable list. However, Java 16 provides toList that returns an immutable list. We probably should introduce a breaking change to make toList immutable as well.