| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.isti.trinetwatch.controlAgentSim.StationTable
This class holds a set of stations in a table.
| Constructor Summary | |
StationTable()
create an object of StationTable  | 
|
| Method Summary | |
 boolean | 
addStation(StationInfo station)
Use this method to add a station to the station table.  | 
 boolean | 
addStation(java.lang.String stationName)
Use this method to add a station to the station table.  | 
 boolean | 
addStation(java.lang.String stationName,
           java.lang.String stationType)
Use this method to add a station to the station table.  | 
 StationInfo | 
get(java.lang.String stationName)
Used to get a handle to a particular station.  | 
 java.util.Enumeration | 
getKeys()
Use this method to get an enumeration of all the stations held in the station table.  | 
 java.util.Enumeration | 
getStationsEnum()
Used to get an enumeration of all stations.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public StationTable()
| Method Detail | 
public boolean addStation(StationInfo station)
station - an object of StationInfopublic boolean addStation(java.lang.String stationName)
stationName - A string containing the name of the station.
public boolean addStation(java.lang.String stationName,
                          java.lang.String stationType)
stationName - A string containing the name of the station.stationType - A string containing the type of the station.public StationInfo get(java.lang.String stationName)
stationName - A string containing the name of the station whose 
 handle is desired.
public java.util.Enumeration getKeys()
public java.util.Enumeration getStationsEnum()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||