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

Method length

Ports/CLDC11/src/java/lang/String.java:335–337  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

333
334 /// Returns the length of this string. The length is equal to the number of 16-bit Unicode characters in the string.
335 public int length(){
336 return 0; //TODO codavaj!!
337 }
338
339 /// Tests if two string regions are equal.
340 /// A substring of this String object is compared to a substring of the argument other. The result is true if these substrings represent character sequences that are the same, ignoring case if and only if ignoreCase is true. The substring of this String object to be compared begins at index toffset and has length len. The substring of other to be compared begins at index ooffset and has length len. The result is false if and only if at least one of the following is true: toffset is negative. ooffset is negative. toffset+len is greater than the length of this String object. ooffset+len is greater than the length of the other argument. There is some nonnegative integer k less than len such that:

Callers 15

lastIndexOfMethod · 0.95
relativizeMethod · 0.95
ofMethod · 0.95
toStringMethod · 0.95
parseLocalTimeMethod · 0.95
padMethod · 0.95
formatLocalTimeMethod · 0.95
getLocalizedValueMethod · 0.95
formatMethod · 0.95
leftPadMethod · 0.95
parseMethod · 0.95
readTimeZoneMethod · 0.95

Calls

no outgoing calls

Tested by 1

actionPerformedMethod · 0.76