Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
17
public
class
Worm implements Serializable {
Callers
1
toString
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected