|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.AutoCloner
public class AutoCloner
Constructor Summary | |
---|---|
AutoCloner()
|
Method Summary | |
---|---|
static void |
clear()
|
static Object |
cloneToplevel(Object o)
This is the toplevel helper function for the automatic cloner. |
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 -- this is the toplevel function to call. |
static Object |
deepCopy(Kopi2SIR kopi2sir)
Clone everything in a kopi2sir, useful for recursive stream definitions. |
static Object |
deepCopy(SIRStream oldObj)
Deep copy a stream structure. |
static void |
register(Object oldObj,
Object newObj)
Indicate that |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AutoCloner()
Method Detail |
---|
public static void clear()
public static Object deepCopy(SIRStream oldObj)
public static Object deepCopy(JPhylum oldObj)
public static Object deepCopy(int offset, JBlock oldObj)
public static Object deepCopy(Kopi2SIR kopi2sir)
public static void register(Object oldObj, Object newObj)
oldObjis being cloned into
newObj. All future references to
oldObjshould take
newObjas the clone instead of creating yet another clone.
public static Object cloneToplevel(Object o)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |