- java.lang.Object
-
- org.omnifaces.util.copier.CopyCtorCopier
-
- All Implemented Interfaces:
Copier
public class CopyCtorCopier extends Object implements Copier
Copier that copies an object using its copy constructor.A copy constructor is a constructor that takes an object of the same type as the object that's to be constructed. This constructor then initializes itself using the values of this other instance.
- Since:
- 2.0
- Author:
- Arjan Tijms
-
-
Constructor Summary
Constructors Constructor Description CopyCtorCopier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
copy(Object object)
Return an object that's logically a copy of the given object.
-