Class Copy


  • public class Copy
    extends java.lang.Object
    "deep" copy an object tree. It only handles the types to represent a json document. Map and Collection are cloned, all other immutable "primitive" types are not cloned.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static @PolyNull java.lang.Object deep​(@PolyNull java.lang.Object source)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • deep

        public static @PolyNull java.lang.Object deep​(@PolyNull java.lang.Object source)