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

Class SharedUser

concurrent/SharedConstructorArgument.java:24–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24class SharedUser implements HasID {
25 private final int id;
26 SharedUser(SharedArg sa) {
27 id = sa.get();
28 }
29 @Override public int getID() { return id; }
30}
31
32public class SharedConstructorArgument {
33 public static void main(String[] args) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected