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

Method toHexString

vm/JavaAPI/src/java/lang/Integer.java:222–224  ·  view source on GitHub ↗

Creates a string representation of the integer argument as an unsigned integer in base 16. The unsigned integer value is the argument plus 232 if the argument is negative; otherwise, it is equal to the argument. This value is converted to a string of ASCII digits in hexadecimal (base16) with no extr

(int i)

Source from the content-addressed store, hash-verified

220 * u0066'.
221 */
222 public static java.lang.String toHexString(int i){
223 return intToHexString(i, 0);
224 }
225
226 public static String intToHexString(int i, int minWidth) {
227 int bufLen = 8; // Max number of hex digits in an int

Callers 15

appendStringMethod · 0.95
escapeMethod · 0.95
jsonStringMethod · 0.95
writeStringMethod · 0.95
dumpStringMethod · 0.95
writeJsonStringMethod · 0.95
appendHexMethod · 0.95
writeStringMethod · 0.95
quoteMethod · 0.95
quoteMethod · 0.95
escapeMethod · 0.95
quoteMethod · 0.95

Calls 1

intToHexStringMethod · 0.95

Tested by 11

jsonEscapeMethod · 0.76
captureMethod · 0.76
verifyMethod · 0.76
testFillRectReadbackMethod · 0.76
testFillShapeReadbackMethod · 0.76
bgMethod · 0.76
stopsClampAtEndpointsMethod · 0.76