MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / Rinse

Class Rinse

patterns/state/StateMachineDemo.java:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41class Rinse implements State {
42 @Override public void run() {
43 System.out.println("Rinsing");
44 new Nap(0.5);
45 }
46}
47
48class Washer extends StateMachine {
49 private int i = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected