Interface Copyable<T>

Type Parameters:
T - the type of the copied object
All Known Subinterfaces:
ISeq<T>, MSeq<T>
All Known Implementing Classes:
io.jenetics.internal.collection.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 Summary

    Modifier and Type
    Method
    Description
    Return a new copy of type T.
  • Method Details

    • copy

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