Documentation of 'org.encog.util.obj.ObjectCloner' Java class
ObjectCloner
org.encog.util.obj

Class ObjectCloner



  • public final class ObjectCloner
    extends java.lang.Object
    A simple Object cloner that uses serialization. Actually works really well for the somewhat complex nature of BasicNetwork. Performs a deep copy without all the headache of programming a custom clone. Original by Dave Miller here: http://www.javaworld.com/javaworld/javatips/jw-javatip76.html?page=2
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.Object deepCopy(java.lang.Object oldObj)
      Perform a deep copy.
      • Methods inherited from class java.lang.Object

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

      • deepCopy

        public static java.lang.Object deepCopy(java.lang.Object oldObj)
        Perform a deep copy.
        Parameters:
        oldObj - The old object.
        Returns:
        The new object.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.