Package org.cicirello.util
Interface Copyable<T extends Copyable<T>>
-
- All Known Implementing Classes:
Permutation
public interface Copyable<T extends Copyable<T>>A simple interface for objects that can be copied.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tcopy()Creates an identical copy of this object.
-
-
-
Method Detail
-
copy
T copy()
Creates an identical copy of this object.- Returns:
- an identical copy of this object.
-
-