corrected link: Re: a usage sample in StringJoiner b73 spec needs update
Paul Sandoz
paul.sandoz at oracle.com
Thu Jan 17 01:19:32 PST 2013
On Jan 16, 2013, at 4:30 PM, Dmitry Bessonov <dmitry.bessonov at oracle.com> wrote:
> http://download.java.net/lambda/b73/docs/api/java/util/StringJoiner.html
>
Thanks.
I think we should wait until the new Collector API settles down before updating these docs.
Paul.
> On 16.01.2013 18:26, Dmitry Bessonov wrote:
>> Currently an example in the spec for StringJoiner class:
>> http://jre.us.oracle.com/java/re/lambda/8/promoted/ea/b73/docs/api/java/util/StringJoiner.html
>> still contains usage of Stream.into() method.
>>
>> List people = ...
>> String commaSeparatedNames =
>> people.map( p -> p.getName() )
>> .into( new StringJoiner(", ") )
>> .toString();
>>
>>
>> -Dmitry
>>
>>
>
>
More information about the lambda-dev
mailing list