- Type Parameters:
T- must be the type of the implementing class
public interface Copyable<T>
Generic interface for objects that can create an independent copy of themselves.
Any operations on the copy must not affect the original in any way.
-
Method Summary
-
Method Details
-
copy
T copy()Create a copy of this object.- Returns:
- T
-