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

Method String

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

Initializes a newly created String object so that it represents an empty character sequence.

()

Source from the content-addressed store, hash-verified

62 * Initializes a newly created String object so that it represents an empty character sequence.
63 */
64 public String(){
65 value = ZERO_CHAR;
66 offset = 0;
67 count = 0;
68 }
69
70 /**
71 * Construct a new String by converting the specified array of bytes using the platform's default character encoding. The length of the new String is a function of the encoding, and hence may not be equal to the length of the byte array.

Callers

nothing calls this directly

Calls 6

bytesToCharsMethod · 0.95
failedBoundsCheckMethod · 0.95
arraycopyMethod · 0.95
lengthMethod · 0.65
displayNameMethod · 0.45
getCharsMethod · 0.45

Tested by

no test coverage detected