Interface Cloner


public interface Cloner
Cloner interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    clone(T object)
    Creates a deep clone of the object.
  • Method Details

    • clone

      <T> T clone(T object) throws ClonerException
      Creates a deep clone of the object.
      Type Parameters:
      T - object type
      Parameters:
      object - object to clone
      Returns:
      a clone
      Throws:
      ClonerException - if something went wrong