Location of getStreamState [it2-bootstrap]

Brian Goetz brian.goetz at oracle.com
Mon Jul 30 05:59:03 PDT 2012


> I am trying to understand the relation between Streamable and Stream
> interfaces. I see that Streamable has a method named getStreamState - should
> this not be in Stream ?

The role of getStreamState is still under discussion.  It may be exposed, or removed.  Right now it exists only for the implementation, not the API.

> On a lighter note, I was wondering if the *main* interface inside
> java.util.streams is Stream or is it StreamOps? 

Note that StreamOps is not a public class.  





More information about the lambda-dev mailing list