Exemplo n.º 1
0
 public void addSubsegment(CS_SubsegmentImpl ss)
 {
     if (subsegments.Count > 0) {
     CS_SubsegmentImpl p = ((CS_SubsegmentImpl)subsegments[(subsegments.Count - 1)]);
     p.next = ss;
     ss.prev = p;
     }
     subsegments.Add(ss);
 }
Exemplo n.º 2
0
 public void addSubsegment(CS_SubsegmentImpl ss)
 {
     if (subsegments.Count > 0)
     {
         CS_SubsegmentImpl p = ((CS_SubsegmentImpl)subsegments[(subsegments.Count - 1)]);
         p.next  = ss;
         ss.prev = p;
     }
     subsegments.Add(ss);
 }