- All Known Implementing Classes:
public interface CopierInterface 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.
- Arjan Tijms
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
copy(Object object)Return an object that's logically a copy of the given object.