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

Method read

exceptions/Switch.java:8–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6public class Switch {
7 private boolean state = false;
8 public boolean read() { return state; }
9 public void on() {
10 state = true;
11 System.out.println(this);

Callers 8

mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
thisClassMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected