question: public void merge ( Intersection other ) { for ( Enumeration e = other . getRoads ( ) ; e . hasMoreElements ( ) ; ) { Road road = ( Road ) e . nextElement ( ) ; road . changeIntersection ( other , this ) ; addRoad ( road ) ; } other . clear ( ) ; setModified ( true ) ; }
target:  Merge another intersection with this one. All the roads of the other intersection are removed and added onto this.