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

Class Spin

patterns/state/StateMachineDemo.java:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34class Spin implements State {
35 @Override public void run() {
36 System.out.println("Spinning");
37 new Nap(0.5);
38 }
39}
40
41class Rinse implements State {
42 @Override public void run() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected