Interface Copyable<T extends Copyable<T>>

  • Type Parameters:
    T - The type of the object to be copied

    public interface Copyable<T extends Copyable<T>>
    A simple interface for objects that can be copied.
    • Method Detail

      • copy

        T copy()
        Creates an identical copy of this object.
        Returns:
        an identical copy of this object.