org.encog.util.obj

## Class ObjectCloner

- java.lang.Object
- - org.encog.util.obj.ObjectCloner

-     public final class ObjectCloner
      extends 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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Object` | `deepCopy(Object oldObj)` Perform a deep copy.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### deepCopy

          public static Object deepCopy(Object oldObj)

      Perform a deep copy.
      Parameters:
        `oldObj` - The old object.
      Returns:
        The new object.

Copyright © 2014. All Rights Reserved.