Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/BruceEckel/OnJava8-Examples
/ box
Method
box
concurrent/Pizza.java:40–40 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
38
public
Pizza bake() {
return
next(Step.TOPPED); }
39
public
Pizza slice() {
return
next(Step.BAKED); }
40
public
Pizza box() {
return
next(Step.SLICED); }
41
public
boolean complete() {
42
return
step.equals(Step.BOXED);
43
}
Callers
nothing calls this directly
Calls
1
next
Method · 0.95
Tested by
no test coverage detected