Ejemplo n.º 1
0
 public void UnshiftD(VarDeque vrs)
 {
     if (vrs == this)
     {
         UnshiftN(vrs.CopyAsArray()); return;
     }
     for (int i = vrs.count - 1; i >= 0; i--)
     {
         Unshift(vrs[i]);
     }
 }
Ejemplo n.º 2
0
 public void PushD(VarDeque vrs)
 {
     if (vrs == this)
     {
         PushN(vrs.CopyAsArray()); return;
     }
     for (int i = 0; i < vrs.count; i++)
     {
         Push(vrs[i]);
     }
 }