|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.isti.trinetwatch.collectionAgentSim.StationTable
public class StationTable
This class creates a data structure that holds a bunch of stations in a table.
Constructor Summary | |
---|---|
StationTable()
Creates 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. |
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 StationInfo
public boolean addStation(java.lang.String stationName)
stationName
- A string containing the name 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 |