深度克隆 @author SeanDragon
| 8 | * @author SeanDragon |
| 9 | */ |
| 10 | public 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected