- Type Parameters:
T
- the type of the copied object
- All Known Implementing Classes:
ArrayISeq
,ArrayMSeq
,BitArray
,CharSeq
,Empty.EmptyISeq
,Empty.EmptyMSeq
,Engine.Builder
,TreeNode
public interface Copyable<T>
This interface indicates that a class can create a copy of type
T
.
Typically, classes which implement this interface, are able to create a copy
from itself.- Since:
- 1.0
- Version:
- 1.0
-
Method Summary
-
Method Details
-
copy
Return a new copy of typeT
.- Returns:
- a new copy of type
T
.
-