drain method
Implementation
TraverseQueue drain() {
var queue = TraverseQueue();
queue.s.addAll(this.s);
this.s = [];
return queue;
}
TraverseQueue drain() {
var queue = TraverseQueue();
queue.s.addAll(this.s);
this.s = [];
return queue;
}