示例#1
0
 private void  PartialListToQueue()
 {
     for (SpansCell cell = first; cell != null; cell = cell.next)
     {
         queue.Put(cell);                 // add to queue from list
     }
 }
示例#2
0
 private void  ListToQueue()
 {
     queue.Clear();             // rebuild queue
     for (SpansCell cell = first; cell != null; cell = cell.next)
     {
         queue.Put(cell);                 // add to queue from list
     }
 }