public final class IdentityCopier<T> extends ReadWriteCopier<T>
Copier implementation that simply returns the value passed in, doing in fact no
 copy at all.| Constructor and Description | 
|---|
| IdentityCopier() | 
| Modifier and Type | Method and Description | 
|---|---|
| T | copy(T obj)This implementation returns the instance passed in as-is. | 
| static <T> Copier<T> | identityCopier() | 
copyForRead, copyForWritepublic static <T> Copier<T> identityCopier()
public T copy(T obj)
copy in class ReadWriteCopier<T>obj - the instance to copy