Changeset 88 in tmcsimulator for trunk/src/atmsdriver/model/Station.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/Station.java

    r87 r88  
    5050    } 
    5151 
     52    public int getHighwayNumber() 
     53    { 
     54        return this.freeway; 
     55    } 
     56     
     57    public DIRECTION getDirection() 
     58    { 
     59        return this.direction; 
     60    } 
     61     
    5262    /** 
    5363     * Returns the station metadata in condensed form. This is just a quick 
Note: See TracChangeset for help on using the changeset viewer.