Package PamUtils
Class DeepCloner
java.lang.Object
PamUtils.DeepCloner
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectdeepClone(Serializable objectToClone) Make a clone of the passed serializable object. 
- 
Constructor Details
- 
DeepCloner
public DeepCloner() 
 - 
 - 
Method Details
- 
deepClone
Make a clone of the passed serializable object. Note that instead of using the clone method, this will serial/deserialize the object to make a deep copy. See this page: http://javatechniques.com/blog/faster-deep-copies-of-java-objects/ for complete details.- Parameters:
 objectToClone- the object to clone. Must implement Serializable- Returns:
 - the cloned object
 - Throws:
 CloneNotSupportedException
 
 -