walker.utilities
Class SerialClone

java.lang.Object
  extended by walker.utilities.SerialClone

public class SerialClone
extends java.lang.Object

Utility class that allows deep cloning of Serializable objects. Note that the clone() method of an Object only makes a shallow copy. Code contributed by: http://weblogs.java.net/blog/2007/04/04/cloning-java-objects-using-serialization


Constructor Summary
SerialClone()
           
 
Method Summary
static
<T> T
clone(T x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerialClone

public SerialClone()
Method Detail

clone

public static <T> T clone(T x)