public class CloneableBean extends Object
It works on all read/write properties, recursively. It support all primitive types, Strings, Collections, Cloneable objects and multi-dimensional arrays of any of them.
| Modifier and Type | Method and Description |
|---|---|
static Object |
beanClone(Object obj,
Set<String> ignoreProperties)
Makes a deep bean clone of the object passed in the constructor.
|
public static Object beanClone(Object obj, Set<String> ignoreProperties) throws CloneNotSupportedException
To be used by classes using CloneableBean in a delegation pattern,
CloneNotSupportedException - thrown if the object bean could not be cloned.Copyright © 2023. All rights reserved.