|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.powermock.classloading.DeepCloner
public class DeepCloner
The purpose of the deep cloner is to create a deep clone of an object. An object can also be cloned to a different class-loader.
Constructor Summary | |
---|---|
DeepCloner()
Clone using the current ContextClassLoader. |
|
DeepCloner(ClassLoader classLoader)
Clone using the supplied ClassLoader. |
Method Summary | ||
---|---|---|
|
clone(T objectToClone)
Clones an object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeepCloner(ClassLoader classLoader)
public DeepCloner()
Method Detail |
---|
public <T> T clone(T objectToClone)
clone
in interface DeepClonerSPI
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |