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