mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8343925: [BACKOUT] JDK-8342650 Move getChars to DecimalDigits
Reviewed-by: jpai, alanb, liach
This commit is contained in:
parent
0759224edc
commit
b0a371b085
12 changed files with 376 additions and 405 deletions
|
@ -2648,6 +2648,14 @@ public final class System {
|
|||
return str.coder();
|
||||
}
|
||||
|
||||
public int getCharsLatin1(long i, int index, byte[] buf) {
|
||||
return StringLatin1.getChars(i, index, buf);
|
||||
}
|
||||
|
||||
public int getCharsUTF16(long i, int index, byte[] buf) {
|
||||
return StringUTF16.getChars(i, index, buf);
|
||||
}
|
||||
|
||||
public String join(String prefix, String suffix, String delimiter, String[] elements, int size) {
|
||||
return String.join(prefix, suffix, delimiter, elements, size);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue