Interface Copyable
- All Known Subinterfaces:
Mutator<T>
,SchematicSetBuilder
public interface Copyable
An alternative to the
Object.clone()
call which provides a usually cleaner implementation.-
Method Summary
-
Method Details
-
copy
Object copy()Returns a copy of the implementing object.The copy should be by value and should not contain any mutable references to other objects.
- Returns:
- a copy of the object instance
-