Changeset 88 in tmcsimulator for trunk/src/atmsdriver/model/FEPLine.java


Ignore:
Timestamp:
10/10/2017 12:07:14 PM (9 years ago)
Author:
jtorres
Message:

Created a Highway.java class with list of sorted stations (by postmile). Highways.java: now has a loadHighways method which returns the List of highways with sorted stations. Highways.java handles loading and sorting, Highway.java just holds the data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/atmsdriver/model/FEPLine.java

    r87 r88  
    4040        this.globalSeq = globalSeq; 
    4141        this.scheduleSeq = scheduleSeq; 
     42    } 
     43     
     44    public int getLineNumber() 
     45    { 
     46        return this.lineNum; 
     47    } 
     48     
     49    public List<Station> getStations() 
     50    { 
     51        return this.stations; 
    4252    } 
    4353     
Note: See TracChangeset for help on using the changeset viewer.