자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
/** * 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); } }