|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.ObjectDeepCloner
public class ObjectDeepCloner
This class implements general deep cloning using the serializable interface
Method Summary | |
---|---|
static Object |
deepCopy(int offset,
JBlock oldObj)
Clone everything starting from this offset of the block Useful in BranchAnalyzer |
static Object |
deepCopy(JPhylum oldObj)
Deep copy a KJC structure. |
static JPhylum[] |
deepCopy(JPhylum[] oldObj)
Deep copy an array of KJC structures. |
static Object |
deepCopy(SIRStream oldObj)
Deep copy a stream structure. |
static Object |
getHandle(Object oldInstance)
Return a handle for |
static Object |
getInstance(Object handle,
Object newInstance)
Given that |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Object deepCopy(SIRStream oldObj)
public static Object deepCopy(JPhylum oldObj)
public static Object deepCopy(int offset, JBlock oldObj)
public static JPhylum[] deepCopy(JPhylum[] oldObj)
public static Object getHandle(Object oldInstance)
oldInstancethat it can store to protect its identity across a serialization operation.
public static Object getInstance(Object handle, Object newInstance)
newInstancefinds itself being unserialized, this method returns what its new representation should be given that it was handed
handleprior to the serialization.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |