public class DeepCopy
extends java.lang.Object
| Constructor and Description |
|---|
DeepCopy() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
copy(java.lang.Object orig)
Returns a copy of the object, or null if the object cannot
be serialized.
|
public static java.lang.Object copy(java.lang.Object orig)
throws java.io.NotSerializableException
orig - an Object valuejava.io.NotSerializableException - if an error occurs