Example #1
0
 public static void PushAfter(DoubleLinkNode2 <T> before, DoubleLink2 <T> list)
 {
     if (before.IsAttach() && !list.IsEmpty())
     {
         DoubleLink2 <T> ._PushAfter(before, list);
     }
 }
Example #2
0
 public void PushFront(DoubleLinkNode2 <T> node)
 {
     node.Detach();
     DoubleLink2 <T> ._PushAfter(this._root, node);
 }
Example #3
0
 public void PushFront(DoubleLink2 <T> list)
 {
     DoubleLink2 <T> ._PushAfter(this._root, list);
 }
Example #4
0
 public static void PushAfter(DoubleLinkNode2 <T> before, DoubleLinkNode2 <T> node)
 {
     node.Detach();
     DoubleLink2 <T> ._PushAfter(before, node);
 }