StringJoiner in b88
paul.sandoz at oracle.com
Mon May 6 01:28:42 PDT 2013
On May 6, 2013, at 9:19 AM, Joe Bowbeer <joe.bowbeer at gmail.com> wrote:
> In b88, StringJoiner does not implement a stream destination?
> Is the "into" example in the javadoc no longer valid?
Right, it's an error.
It should be something like:
String commaSeparatedNames =
people.stream().map(p -> p.getName()).collect(Collectors.toStringJoiner(", ")).toString();
I quickly updated the docs to:
More information about the lambda-libs-spec-observers