MCPcopy Create free account
hub / github.com/SeanDragon/protools / ToolClone

Class ToolClone

common/src/main/java/pro/tools/data/ToolClone.java:10–20  ·  view source on GitHub ↗

深度克隆 @author SeanDragon

Source from the content-addressed store, hash-verified

8 * @author SeanDragon
9 */
10public final class ToolClone {
11 private static final Cloner CLONER = new Cloner();
12
13 public static <T> T clone(T src) {
14 return CLONER.deepClone(src);
15 }
16
17 public static Cloner getInstance() {
18 return CLONER;
19 }
20}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected