Feature Request: Add append and prepend instance methods to Stream, IntStream, LongStream, and DoubleStream
Feature Request: Add append and prepend instance methods to Stream, IntStream, LongStream, and DoubleStream: a task in LegoFlow-SWE (Harbor dataset). Both methods should: - Return a lazy stream (elements are not consumed until a terminal operation is invoked). - Support chaining…
The task
Both methods should: - Return a lazy stream (elements are not consumed until a terminal operation is invoked). - Support chaining: `stream.append(s1).append(s2).append(s3)` should produce the concatenation of all four streams in the order they are appended. - Handle empty streams gracefully: appending or prepending…
Part of Lego-X/LegoFlow-SWE.