|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpu.patterns.common.JPUObjectUtils
Method Summary | |
static java.lang.Object |
cloneObjectEfficiently(java.lang.Object o)
Alias for " cloneObjectEfficiently(o, "clone") ". |
static java.lang.Object |
cloneObjectEfficiently(java.lang.Object o,
java.lang.String methodName)
First attempts to clone the object using a public clone method with the specified name; if that fails it falls back to SerializationUtils.clone() (which is much
slower); if that fails, throws a
NestableRuntimeException holding the resulting exception. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.lang.Object cloneObjectEfficiently(java.lang.Object o)
cloneObjectEfficiently(o, "clone")
".
public static java.lang.Object cloneObjectEfficiently(java.lang.Object o, java.lang.String methodName)
SerializationUtils.clone()
(which is much
slower); if that fails, throws a
NestableRuntimeException holding the resulting exception.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |