Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BruceEckel/OnJava8-Examples
/ method
Method
method
lowlevel/SynchronizedComparison.java:15–15 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
13
abstract
class
Guarded {
14
AtomicLong callCount =
new
AtomicLong();
15
public
abstract
void
method();
16
@Override
public
String toString() {
17
return
getClass().getSimpleName() +
18
": "
+ callCount.get();
Callers
1
run
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected