-
- All Known Implementing Classes:
CloneCopier
,CopyCtorCopier
,MultiStrategyCopier
,NewInstanceCopier
,SerializationCopier
public interface Copier
Interface that is to be implement by classes that know how to copy an object.This contract makes no guarantee about the level of copying that is done. Copies can be deep, shallow, just a new instance of the same type or anything in between. It generally depends on the exact purpose of the copied object what level of copying is needed, and different implementations of this interface can facilitate for this difference.
- Since:
- 2.0
- Author:
- Arjan Tijms
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
copy(Object object)
Return an object that's logically a copy of the given object.
-