Interface Copyable<Self>

All Known Implementing Classes:
Record

public interface Copyable<Self>
Implementing objects must be able to provide copies of themselves.
  • Method Summary

    Modifier and Type
    Method
    Description
    Create a (potentially shallow) copy of this instance.
  • Method Details

    • copy

      Self copy()
      Create a (potentially shallow) copy of this instance.
      Returns:
      the copy