Class ObjectCopierImpl
java.lang.Object
org.glassfish.pfl.dynamic.copyobject.impl.ObjectCopierImpl
- All Implemented Interfaces:
ObjectCopier
Class used to deep copy arbitrary data. A single
ObjectCopierImpl
instance will preserve all object aliasing across multiple calls
to copy.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ccf
-
oldToNew
-
-
Constructor Details
-
ObjectCopierImpl
public ObjectCopierImpl()
-
-
Method Details
-
copy
Return a deep copy of obj. Aliasing is preserved within obj and between objects passed in multiple calls to the same instance of ReflectObjectCopierImpl.- Specified by:
copy
in interfaceObjectCopier
- Throws:
ReflectiveCopyException
-