Interface Copyable<T>

Type Parameters:
T - 对象泛型
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 Copyable<T>
设置返回元素的类型
Since:
Java 17+
Author:
Kimi Liu
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Method Details

    • copy

      T copy()
      Returns:
      具有相同值的新实例