Interface Copyable<T>

  • Type Parameters:
    T - the type of the copied object
    All Known Subinterfaces:
    ISeq<T>, MSeq<T>
    All Known Implementing Classes:
    ArrayISeq, CharSeq, Engine.Builder

    public interface Copyable<T>
    This interface indicates, that a class can create a copy of type T. Typically, classes which implement this interface, are able to create a copy from itself.
    Since:
    1.0
    Version:
    1.0
    • Method Detail

      • copy

        T copy()
        Return a new copy of type T.
        Returns:
        a new copy of type T.