org.clazzes.util.reflect
Interface Cloner<T>

All Known Implementing Classes:
ArrayCloner, CloneableCloner, POJOCloner

public interface Cloner<T>

An interface, which clones a JAVA object.

Author:
wglas

Method Summary
 T clone(T o)
           
 

Method Detail

clone

T clone(T o)
        throws java.lang.CloneNotSupportedException
Parameters:
o - A POJO object to clone.
Returns:
A clone of the given object.
Throws:
java.lang.CloneNotSupportedException - If this instance cannot be cloned.


Copyright © 2010. All Rights Reserved.