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