Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011. All Rights Reserved.