corrected link: Re: a usage sample in StringJoiner b73 spec needs update

Dmitry Bessonov dmitry.bessonov at oracle.com
Wed Jan 16 07:30:22 PST 2013


http://download.java.net/lambda/b73/docs/api/java/util/StringJoiner.html

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