hg: lambda/lambda/jdk: Remove FlatMapper and relevant flatMap variants; migrate to flatMap(e -> stream)

Mike Duigou mike.duigou at oracle.com
Tue Apr 9 13:59:50 PDT 2013


FlatMapper alternatives are available. At this point the API is still undergoing refinement. This and many other things are still likely to change before the Java 8 streams API is complete. Our focus is on making the best long term decisions for Java and not the short term convenience of early adopters (think of yourselves as experimental volunteers).

If you absolutely can't live without the APIs mentioned you need to explain why they are essential and why the alternatives are inadequate/inferior.

Mike

On Apr 9 2013, at 13:35 , Marc Petit-Huguenin wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> On 04/09/2013 01:28 PM, Brian Goetz wrote:
>> As you might have gathered from the EG discussions, flatMap has not gone
>> away; we've simply removed one of the variants of it.
> 
> I was talking about FlatMapper.
> 
>> 
>> On 4/9/2013 4:06 PM, Marc Petit-Huguenin wrote: After MapStream and access
>> to the pipeline, another useful API disappears.
>> 
>> On 04/09/2013 12:36 PM, brian.goetz at oracle.com wrote:
>>>>> Changeset: 4a8fddc0b945 Author:    briangoetz Date:      2013-04-09
>>>>> 15:36 -0400 URL: 
>>>>> http://hg.openjdk.java.net/lambda/lambda/jdk/rev/4a8fddc0b945
>>>>> 
>>>>> Remove FlatMapper and relevant flatMap variants; migrate to flatMap(e
>>>>> -> stream)
>>>>> 
>> 
>>> 
>> 
> 
> - -- 
> Marc Petit-Huguenin
> Email: marc at petit-huguenin.org
> Blog: http://blog.marc.petit-huguenin.org
> Profile: http://www.linkedin.com/in/petithug
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
> 
> iQIcBAEBCAAGBQJRZHuAAAoJECnERZXWan7EjzAQAJq7zzj87Qn9DW59npFfGwua
> z/5BH6ULFZ5o/pIz2WaUlNIaHNOlX3YMSWAA5tSCBIZou0kHzn4sxOtaIVdhnS4w
> 54p+n5gFLC55MhZk8APb1OREL+SXufwgfuXV7+qsyQmYTDZ7gJAEArXDyMC5wM0C
> KBy20GTF/snCW3PZhPF5SloIhdj5WbGzxTBVOy/1PEtBFuB15EBMelDoyh7KoIBJ
> xq4xwoHC5/CIUjUCgGtyVZYFVXaRIr50Ua0zTzr5jsgOEHt+3XM+9tb/FaWXMFBk
> jHGCQjB7Ovd6OQ48cWN19ibMGVZ8Je7pd4ysXK/X7DAnJnFuN2LhAx04zxP+gRu1
> cHQHcxcrLc3+M10vCSPrEyurm8yHN3oabZ72Mbw/Xj0wdqFfPOk1+nMyuEbqINHC
> q6/2RGn/T10xZ0DBmytAVVBhnQB+Oop9LThw3/rbqtG4VA+JUPT15r8AznqnVDM4
> 9kYz1NyrwbzA6rTA3/aKW1Txo8gqFI2gaiTTTFl3R4zo/MWUsZIs5p3mdR6+STRM
> 2Lgxe/V63XjOWTnn3jtLO38v7RTx1oHrMDuLQdtZiMZBsjwZiOkuqp0A8b8NYguY
> J6o3I+F8HsC8rCKfyrIDLvX19jXPRneo+gsL78ETQdp/OPqFMBicRuoyIUYHSYGs
> vfVNX0n2O4Y6HFUDfqdh
> =bthM
> -----END PGP SIGNATURE-----
> 



More information about the lambda-dev mailing list