hg: lambda/lambda/jdk: Add String.splitAsStream().
Stuart Marks
stuart.marks at oracle.com
Wed May 2 13:54:48 PDT 2012
On 5/1/12 6:18 PM, Rémi Forax wrote:
> On 05/02/2012 02:28 AM, stuart.marks at oracle.com wrote:
>> Changeset: 08b1840dd694
>> Author: smarks
>> Date: 2012-05-01 17:09 -0700
>> URL: http://hg.openjdk.java.net/lambda/lambda/jdk/rev/08b1840dd694
>>
>> Add String.splitAsStream().
>
> I think these methods should be added to CharSequence.
Interesting. Seems like Pattern should have splitAsStream() methods added, and
then the default implementations in CharSequence could delegate to those. For
completeness maybe we should think about providing array-returning split()
methods on CharSequence. And other extension methods too ... ?
s'marks
More information about the lambda-dev
mailing list