Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BruceEckel/OnJava8-Examples
/ access
Method
access
hiding/Lunch.java:18–20 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
private
Soup2() {}
17
private
static
Soup2 ps1 =
new
Soup2();
// [2]
18
public
static
Soup2 access() {
19
return
ps1;
20
}
21
public
void
f() {}
22
}
23
Callers
1
testSingleton
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected