The current Stream class has toArray() only returning an Object. This is very unhandy if you're working with parameterized streams. In an example I was working with a Stream of CompletableFuture
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.