Cancelation -- use cases
Remi Forax
forax at univ-mlv.fr
Mon Dec 31 08:50:21 PST 2012
On 12/31/2012 05:34 PM, Sam Pullara wrote:
> BTW, just noticed you can't get the lines of a file as a Stream. I
> think this would enable us to do that in a way that works well — the
> Files.readAllLines() method is an abomination and probably a time bomb
> for anyone that uses it.
>
> Sam
If you want the history:
http://mail.openjdk.java.net/pipermail/nio-dev/2008-November/000285.html
and yes, we should introduce a Files.readLines() that returns a
Stream<String>.
Rémi
More information about the lambda-libs-spec-observers
mailing list