MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / toString

Method toString

serialization/Worm.java:12–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 private int n;
11 Data(int n) { this.n = n; }
12 @Override public String toString() {
13 return Integer.toString(n);
14 }
15}
16
17public class Worm implements Serializable {

Callers 1

toStringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected