public interface Cloner
boolean canClone(java.lang.Object source)
source
- - the object that is being considered.java.lang.Object clone(java.lang.Object source)
This method should never be called unless a corresponding canClone(Object)
returns TRUE.
source
- - the value to clone.java.lang.IllegalArgumentException
- If this cloner cannot perform the clone.