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

Method clone

references/Compete.java:14–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13class Thing3 implements Cloneable {
14 @Override public Thing3 clone() {
15 try {
16 return (Thing3)super.clone();
17 } catch(CloneNotSupportedException e) {
18 throw new RuntimeException(e);
19 }
20 }
21}
22
23class Thing4 implements Cloneable {

Callers 2

cloneMethod · 0.45
mainMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected