Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codenameone/CodenameOne
/ toCharNoCopy
Method
toCharNoCopy
vm/JavaAPI/src/java/lang/String.java:785–790 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
783
}
784
785
private
char[] toCharNoCopy() {
786
if
(offset == 0 && value.length == count) {
787
return
value;
788
}
789
return
toCharArray();
790
}
791
792
/**
793
* Converts this string to a
new
character array.
Callers
1
getBytes
Method · 0.95
Calls
1
toCharArray
Method · 0.95
Tested by
no test coverage detected