/[gzz]/gzz/gzz/zzutil/Containment.java
ViewVC logotype

Diff of /gzz/gzz/zzutil/Containment.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by benja, Sun Dec 8 01:06:08 2002 UTC revision 1.2 by benja, Tue Jan 7 21:49:08 2003 UTC
# Line 34  public class Containment { Line 34  public class Containment {
34       *  together.       *  together.
35       */       */
36      public static String getContainedText(Cell c) {      public static String getContainedText(Cell c) {
37            c = c.getRootclone();
38          Dim d_contain = c.space.getDim(Ids.d_contain);          Dim d_contain = c.space.getDim(Ids.d_contain);
39          Dim d_contain_list = c.space.getDim(Ids.d_contain_list);          Dim d_contain_list = c.space.getDim(Ids.d_contain_list);
40    
# Line 54  public class Containment { Line 55  public class Containment {
55       *  as specified by the containment mechanism.       *  as specified by the containment mechanism.
56       */       */
57      public static Enfilade1D getContainedEnfilade(Cell c) {      public static Enfilade1D getContainedEnfilade(Cell c) {
58            c = c.getRootclone();
59          VStreamCellTexter t = (VStreamCellTexter)c.space.getCellTexter();          VStreamCellTexter t = (VStreamCellTexter)c.space.getCellTexter();
60          Dim d_contain = c.space.getDim(Ids.d_contain);          Dim d_contain = c.space.getDim(Ids.d_contain);
61          Dim d_contain_list = c.space.getDim(Ids.d_contain_list);          Dim d_contain_list = c.space.getDim(Ids.d_contain_list);
# Line 84  public class Containment { Line 86  public class Containment {
86       */       */
87      public static void addContainedCell(Cell into, Cell add)      public static void addContainedCell(Cell into, Cell add)
88                                 throws IllegalArgumentException {                                 throws IllegalArgumentException {
89            into = into.getRootclone();
90          Dim d_contain = into.space.getDim(Ids.d_contain);          Dim d_contain = into.space.getDim(Ids.d_contain);
91          Dim d_contain_list = into.space.getDim(Ids.d_contain_list);          Dim d_contain_list = into.space.getDim(Ids.d_contain_list);
92    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26