Class SerialClone


  • public final class SerialClone
    extends java.lang.Object
    Clones an object by round-tripping through serialization.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T extends java.io.Serializable>
      T
      clone​(T obj)
      Clones an object by round-tripping through serialization.
      • Methods inherited from class java.lang.Object

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

      • clone

        public static <T extends java.io.Serializable> T clone​(T obj)
        Clones an object by round-tripping through serialization.