Interface Copyable<T extends Copyable<T>>

Type Parameters:
T - the actual type

public interface Copyable<T extends Copyable<T>>
A class that can produce a deep copy of itself.
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a deep copy of this object.
  • Method Details

    • copy

      T copy()
      Create a deep copy of this object.
      Returns:
      the copy