Example #1
0
 public Storage(Sequence sq)
 {
     if (!selfTested)
     {
         selfTest();
     }
     this.elStor = sq;
     this.oBdry  = new SeqLabel(1);
     this.cBdry  = new SeqLabel(sq.Len() + 1);
     bl          = null;
 }
Example #2
0
 internal Storage(Sequence elStor, SeqLabel oBdry, SeqLabel cBdry)
 {
     bl = new Pile <Block>("", new Block(this)); this.elStor = elStor; this.oBdry = oBdry; this.cBdry = cBdry; elStor.subscribe(this); upd();
 }