Пример #1
0
 /**
  * Remove station from line
  *
  * @param stn the station to remove from this line
  */
 public void removeStation(Station stn) {
   if (stations.contains(stn)) {
     stations.remove(stn);
     //
     stn.removeLine(this);
   }
 }