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

Method insert

vm/JavaAPI/src/java/lang/StringBuilder.java:324–327  ·  view source on GitHub ↗

Inserts the string representation of the boolean argument into this string builder. The second argument is converted to a string as if by the method String.valueOf, and the characters of that string are then inserted into this string builder at the indicated offset. The offset argument must be great

(int offset, boolean b)

Source from the content-addressed store, hash-verified

322 * The offset argument must be greater than or equal to 0, and less than or equal to the length of this string builder.
323 */
324 public java.lang.StringBuilder insert(int offset, boolean b){
325 if(b) return insert(offset, "true");
326 return insert(offset, "false");
327 }
328
329 /**
330 * Inserts the string representation of the char argument into this string builder.

Callers 10

parseTagContentMethod · 0.95
sanitizeNameMethod · 0.95
toStringMethod · 0.95
toEngineeringStringMethod · 0.95
invokeMethod · 0.95
addNodeMapMethod · 0.95
shortIdentifierMethod · 0.95
base26Method · 0.95
sanitizeIdentifierMethod · 0.95
buildMethod · 0.95

Calls 9

moveMethod · 0.95
arraycopyMethod · 0.95
toStringMethod · 0.95
toStringMethod · 0.95
toStringMethod · 0.95
toStringMethod · 0.95
toStringMethod · 0.65
lengthMethod · 0.65
getCharsMethod · 0.45

Tested by

no test coverage detected