Loose-ends wrapup
Paul Sandoz
paul.sandoz at oracle.com
Fri May 10 02:18:57 PDT 2013
On May 9, 2013, at 9:14 PM, Brian Goetz <brian.goetz at Oracle.COM> wrote:
> The majority of the lambda libraries code has been put back to the jdk8 repositories. I'm gathering a list of loose ends that we might want to circle back to. The bar for nontrivial new features at this point is high, but there are plenty of things in the "small tweaks" category that we can do.
>
> There's also lots of work remaining in improving the implementation and especially the documentation and specification. This is a really great time to contribute improvements in this area.
>
> Streams -- lingering feature ideas
>
> - Additional tweaking on range generators (see Paul's emails)
> - Convenience ints() and longs() generator methods? (ditto)
> - Collector for frequency counting?
> - Support for state-based cancelation (e.g., cancelWhen(BooleanSupplier))
> - Support for content-based limiting (takeWhile, skipUntil)
> - Convenience methods like toList() on Stream
>
- Support for primitive stream concatenation
(now that it is easier to share code for primitive spliterators)
- Concatenation for > 2 streams?
Paul.
> SAMs
> - Additional static or default methods on standard SAMs?
>
> Point lambdafications
> - Gotta be more of these?
>
> Helper classes
> - (I hesitate to even suggest): Optional.{filter,map,flatMap}
> Now that Stream.flatMap is settled, it becomes reasonable to consider these.
>
> What others have I missed?
>
>
>
More information about the lambda-libs-spec-experts
mailing list