Interface ICopyable<T>

Type Parameters:
T - The type of the object.
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ICopyable<T>
Interface for a copyable object.
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details

    • copy

      T copy()
      Returns:
      A copy of the object.