Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

README.md

Clone Utils

This utility class clones and patches POJOs my using Jackson's object-mapper.

Usage

Clone object:

MyObject cloned = CloneUtils.deepClone(new MyObject());

Clone object to different type:

MyOtherType cloned = CloneUtils.deepClone(new MyObject(), MyOtherType.class);

Clone and patch object:

MyObject patchedClone = CloneUtils.deepClone(new MyObject(), new MyPatch());

Clone and patch object to different type:

MyOtherType patchedClone = CloneUtils.deepClone(new MyObject(), new MyPatch(), MyOtherType.class);

Build

$ mvn package

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.