public void visitAll(TraversalVisitor visitor){
  while (!triQueue.isEmpty()) {
    QuadEdgeTriangle tri=(QuadEdgeTriangle)triQueue.removeFirst();
    process(tri,visitor);
  }
}

public void visitAll ( TraversalVisitor visitor ) { while ( ! triQueue . isEmpty ( ) ) { QuadEdgeTriangle tri = ( QuadEdgeTriangle ) triQueue . removeFirst ( ) ; process ( tri , visitor ) ; } }
subclasses call this method to perform the visiting process .
