internal void Remove()
 {
     RarMemBlock temp = new RarMemBlock(Memory);
     temp.Address = GetPrev();
     temp.SetNext(GetNext()); // prev.setNext(next);
     temp.Address = GetNext();
     temp.SetPrev(GetPrev()); // next.setPrev(prev);
     //		next = -1;
     //		prev = -1;
 }
 internal void InsertAt(RarMemBlock p)
 {
     RarMemBlock temp = new RarMemBlock(Memory);
     SetPrev(p.Address);
     temp.Address = GetPrev();
     SetNext(temp.GetNext()); // prev.getNext();
     temp.SetNext(this); // prev.setNext(this);
     temp.Address = GetNext();
     temp.SetPrev(this); // next.setPrev(this);
 }
Exemple #3
0
        internal void Remove()
        {
            RarMemBlock temp = new RarMemBlock(Memory);

            temp.Address = GetPrev();
            temp.SetNext(GetNext()); // prev.setNext(next);
            temp.Address = GetNext();
            temp.SetPrev(GetPrev()); // next.setPrev(prev);
            //		next = -1;
            //		prev = -1;
        }
Exemple #4
0
        internal void InsertAt(RarMemBlock p)
        {
            RarMemBlock temp = new RarMemBlock(Memory);

            SetPrev(p.Address);
            temp.Address = GetPrev();
            SetNext(temp.GetNext()); // prev.getNext();
            temp.SetNext(this);      // prev.setNext(this);
            temp.Address = GetNext();
            temp.SetPrev(this);      // next.setPrev(this);
        }
 internal void SetNext(RarMemBlock next)
 {
     SetNext(next.Address);
 }
 internal void SetPrev(RarMemBlock prev)
 {
     SetPrev(prev.Address);
 }
Exemple #7
0
 internal void SetNext(RarMemBlock next)
 {
     SetNext(next.Address);
 }
Exemple #8
0
 internal void SetPrev(RarMemBlock prev)
 {
     SetPrev(prev.Address);
 }