Interface Cloner

  • All Known Implementing Classes:
    NaturalCloner

    public interface Cloner
    A Cloner provides an external means for producing copies of objects as prescribed by the Object.clone() contract.
    Author:
    gg/mf 2012.07.12
    • Method Detail

      • clone

        <T> T clone​(T o)
        Return a copy of the specified object.
        Type Parameters:
        T - the type of the object
        Parameters:
        o - the object to clone
        Returns:
        the new object