Sponsoring getting 5015163 "(str) String merge/join that is the inverse of String.split()" into JDK 7
forax at univ-mlv.fr
Wed Oct 14 14:35:02 UTC 2009
Le 14/10/2009 01:32, Joseph D. Darcy a écrit :
> Following up from threads earlier this year,
> I'm willing and interested to sponsor getting String.join
> functionality into JDK 7.
> To address this particular bug, I think there should be new "join"
> methods on String as opposed to a general "joiner" class. A more
> general class could be added later.
> Remi, please point to a current draft of the specification and
> implementation for your change.
> Kevin, I'm interested in hearing your comments on the API design.
the webrev is here:
There is no specification, i.e no more than the javadoc.
I will dig this evening to find the tests I've used,
they are on another computer at home which is currently shutdown.
As Kevin said String.join is perhaps better as a static method,
see first part of:
More information about the core-libs-dev