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

Class Soup2

hiding/Lunch.java:15–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15class Soup2 {
16 private Soup2() {}
17 private static Soup2 ps1 = new Soup2(); // [2]
18 public static Soup2 access() {
19 return ps1;
20 }
21 public void f() {}
22}
23
24// Only one public class allowed per file:
25public class Lunch {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected