RFR: 8077242: Add default method CharSequence.getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) (original) (raw)
Alan Bateman Alan.Bateman at oracle.com
Sat May 9 16:14:06 UTC 2015
- Previous message: RFR: 8077242: Add default method CharSequence.getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)
- Next message: RFR: 8077242: Add default method CharSequence.getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 09/05/2015 17:03, Ivan Gerasimov wrote:
Hi everyone!
The String class has getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin) which is used to efficiently extract substrings, avoiding unnecessary copying.
This has come up a few times, here's the last thread (and patch) that I could find:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2013-April/015889.html
- Previous message: RFR: 8077242: Add default method CharSequence.getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)
- Next message: RFR: 8077242: Add default method CharSequence.getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]