MCPcopy Create free account
hub / github.com/SquirrelJME/SquirrelJME / toString

Method toString

runt/apis/cldc-compact/java/lang/Integer.java:140–151  ·  view source on GitHub ↗

{@inheritDoc} @since 2018/09/23

()

Source from the content-addressed store, hash-verified

138 * @since 2018/09/23
139 */
140 @Override
141 public String toString()
142 {
143 Reference<String> ref = this._string;
144 String rv;
145
146 if (ref == null || null == (rv = ref.get()))
147 this._string = new WeakReference<>(
148 (rv = Integer.toString(this._value)));
149
150 return rv;
151 }
152
153 /**
154 * Returns the number of bits which are in the value, this is the

Callers 7

numberAsStringMethod · 0.95
mainMethod · 0.95
toStringMethod · 0.95
toStringMethod · 0.95
getPropertyMethod · 0.95
toStringMethod · 0.95
printMethod · 0.95

Calls 4

appendMethod · 0.95
reverseMethod · 0.95
toStringMethod · 0.95
getMethod · 0.65

Tested by 1

mainMethod · 0.76