Class ModelSerialCloneable

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID
      Use serialVersionUID for interoperability.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object clone()
      Copies the object that extends this class through use of Serialization.
      java.lang.Object nativeClone()
      Does not use serialization for cloning, exists for performance comparison and shallow copies.
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Use serialVersionUID for interoperability.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ModelSerialCloneable

        public ModelSerialCloneable()
    • Method Detail

      • clone

        public java.lang.Object clone()
        Copies the object that extends this class through use of Serialization.
        Overrides:
        clone in class java.lang.Object
        Returns:
        The cloned object. Null if there was an error.
      • nativeClone

        public java.lang.Object nativeClone()
        Does not use serialization for cloning, exists for performance comparison and shallow copies.
        Throws:
        java.lang.CloneNotSupportedException