MCPcopy Create free account
hub / github.com/BruceEckel/OnJava8-Examples / complete

Method complete

concurrent/Pizza.java:41–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 }
44 @Override public String toString() {
45 return "Pizza" + id + ": " +
46 (step.equals(Step.BOXED)? "complete" : step);

Callers 3

mainMethod · 0.95
mainMethod · 0.80
mainMethod · 0.80

Calls 1

equalsMethod · 0.45

Tested by

no test coverage detected