- get(int) - Method in class TSim.AddingArrayList
-
Returns element at position index.
- getEvent() - Method in class TSim.TrainErrorEvent
-
Returns the type of the event.
- getEvent() - Method in class TSim.TrainEvent
-
Returns the type of the event.
- getInstance() - Static method in class TSim.TSimInterface
-
Returns the single instance (singleton pattern).
- getSensor(int) - Method in class TSim.TSimInterface
-
Blocks the calling thread until the specified train passes a sensor.
- getStatus() - Method in class TSim.CommandStatus
-
Returns the status of the command.
- getStatus() - Method in class TSim.SensorEvent
-
Returns the status of the sensor; either ACTIVE or INACTIVE.
- getTrainId() - Method in class TSim.SensorEvent
-
Returns the id of the train affecting the sensor.
- getTrainId() - Method in class TSim.TrainErrorEvent
-
Returns the id of the train affected byt the event.
- getTrainId() - Method in class TSim.TrainEvent
-
Returns the id of the train affected byt the event.
- getXpos() - Method in class TSim.SensorEvent
-
Returns the x coordinate of the affected sensor.
- getYpos() - Method in class TSim.SensorEvent
-
Returns theyx coordinate of the affected sensor.