MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / toCharArray

Method toCharArray

vm/JavaAPI/src/java/lang/String.java:795–799  ·  view source on GitHub ↗

Converts this string to a new character array.

()

Source from the content-addressed store, hash-verified

793 * Converts this string to a new character array.
794 */
795 public char[] toCharArray(){
796 char[] buffer = new char[count];
797 System.arraycopy(value, offset, buffer, 0, count);
798 return buffer;
799 }
800
801 /**
802 * Converts all of the characters in this String to lower case.

Callers 15

parseMethod · 0.95
readResponseMethod · 0.95
drawCharsMethod · 0.95
openFileImplMethod · 0.95
showPasswordDialogMethod · 0.95
toStringMethod · 0.95
getBytesMethod · 0.95
toCharNoCopyMethod · 0.95
toStringMethod · 0.95
parseMethod · 0.95
writeDependenciesMethod · 0.95
injectDependenciesMethod · 0.95

Calls 1

arraycopyMethod · 0.95

Tested by 7

splitMethod · 0.36
readBeyondLengthMethod · 0.36
encodeStringMethod · 0.36
testIteratorMethod · 0.36
testExceptionsMethod · 0.36