88 |
public Cell getMSBlockCell(String msid, Cell cell) { |
public Cell getMSBlockCell(String msid, Cell cell) { |
89 |
return null; |
return null; |
90 |
} |
} |
91 |
|
|
92 |
|
public Cell zzclone(Cell cellToClone, Cell cloneInSlice) { |
93 |
|
Dim cl = getCloneDim(); |
94 |
|
if(cloneInSlice == null) { |
95 |
|
return N(cl.h(cellToClone, 1), cl, 1, null); |
96 |
|
} |
97 |
|
Cell end = cl.h(cellToClone, 1); |
98 |
|
Cell nu = N(cloneInSlice); |
99 |
|
Cell firstroot = nu.getRootclone(); |
100 |
|
end.connect(cl, 1, nu); |
101 |
|
if(!nu.getRootclone().equals(cellToClone.getRootclone())) |
102 |
|
throw new ZZError("ARGH: zzclone(Cell) didn't work: "+ |
103 |
|
cellToClone.getRootclone() + " != " + nu.getRootclone()+"\n"+ |
104 |
|
"Nu was: "+nu+" in "+nu.space+"\n"+ |
105 |
|
"This is: "+cellToClone+" in "+this+"\n"+ |
106 |
|
"End was: "+end+" in "+end.space+"\n"+ |
107 |
|
"Nu's negconn was: "+nu.s(cl, -1)+"\n"+ |
108 |
|
"Nu's head was: "+nu.h(cl, -1)+"\n"+ |
109 |
|
"Firstroot was: "+firstroot); |
110 |
|
return nu; |
111 |
|
} |
112 |
} |
} |