9

I see many blog posts mention a Streams class and I see it was once part of the lambda branch API. It appears to be non-public API now and it does not match the previous implementation. Is there a different way to do Streams.concat() or to append multiple values to a stream?

Stuart Marks
133k39 gold badges215 silver badges274 bronze badges
asked May 27, 2013 at 21:16
2
  • You should mention what pre-release build(s) you are referencing. Commented May 27, 2013 at 21:23
  • @assylias I'll accept that as an answer until it does get implemented, thanks Commented May 27, 2013 at 21:53

1 Answer 1

12

The Streams class got split and some of its methods were moved to StreamSupport, which does not contain a concat method in the latest build. The rationale for the split is explained here.

The specific case of concat has been mentioned separately in this post where it was proposed for removal and was apparently removed.

However a later post seems to indicate that it will reappear in future builds.

answered May 27, 2013 at 21:56

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.