Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BruceEckel/OnJava8-Examples
/ main
Method
main
lowlevel/AtomicEvenProducer.java:14–16 ·
view source on GitHub ↗
(String[] args)
Source
from the content-addressed store, hash-verified
12
return
currentEvenValue.addAndGet(2);
13
}
14
public
static
void
main(String[] args) {
15
EvenChecker.test(
new
AtomicEvenProducer());
16
}
17
}
18
/* Output:
19
No odd numbers discovered
Callers
nothing calls this directly
Calls
1
test
Method · 0.95
Tested by
no test coverage detected