[DISCUSSION] Views of immutable objects.
i30817 at gmail.com
Sat Jul 28 17:47:36 UTC 2007
What about adding a method to String complementing the call toCharArray(),
only it takes 3 arguments:
An char array, a position and a length, that inside uses System.arrayCopy.
This would create the possibility to eliminate news when we just want to
copy Strings, and still preserve immutability
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the core-libs-dev