示例#1
0
 public TGlsNode remove()
 {
     _prev._next = _next;
     _next._prev = _prev;
     _next       = _prev = this;
     return(this);
 }
示例#2
0
        public TGlsNode insert(TGlsNode ANode)
        {
            TGlsNode c = _next;

            ANode._next = c;
            ANode._prev = this;
            _next       = ANode;
            c._prev     = ANode;
            return(ANode);
        }
示例#3
0
        public void splice(ref TGlsNode b)
        {
            TGlsNode a  = this;
            TGlsNode an = a._next;
            TGlsNode bn = b._next;

            a._next  = bn;
            b._next  = an;
            an._prev = b;
            bn._prev = a;
        }
示例#4
0
 public void TGlsNode1()
 {
     _next = this;
     _prev = this;
 }
示例#5
0
 public TGlsNode()
 {
     _next = this;
     _prev = this;
 }