T - the type of the instance to copypublic interface Copier<T>
The copied object's class must be preserved. The following must always be true:
   object.getClass().equals( myCopier.copyForRead(object).getClass() )
   object.getClass().equals( myCopier.copyForWrite(object).getClass() )
   
| Modifier and Type | Method and Description | 
|---|---|
T | 
copyForRead(T obj)
Creates a copy of the instance passed in. 
 | 
T | 
copyForWrite(T obj)
Creates a copy of the instance passed in. 
 |