Class CloneCopier

  • All Implemented Interfaces:
    Copier

    public class CloneCopier
    extends Object
    implements Copier
    Copier that copies an object using the Cloneable facility.
    Since:
    2.0
    Author:
    Arjan Tijms
    • Constructor Detail

      • CloneCopier

        public CloneCopier()
    • Method Detail

      • copy

        public Object copy​(Object object)
        Description copied from interface: Copier
        Return an object that's logically a copy of the given object.
        Specified by:
        copy in interface Copier
        Parameters:
        object - the object to be copied
        Returns:
        a copy of the given object