Package com.gengoai

Interface Copyable<E>

    • Method Detail

      • deepCopy

        static <T> T deepCopy​(T object)
        Deep copies an object using serialization.
        Type Parameters:
        T - the serializable type parameter
        Parameters:
        object - the object to copy
        Returns:
        the copied object
      • copy

        E copy()

        Makes a copy of this object.

        Returns:
        A copy of this object.