Uses of Class
Train

Uses of Train in <Unnamed>
 

Fields in <Unnamed> with type parameters of type Train
private  LinkedList<Train> TrainHub.trains
          The internal data structure of a hub is a linked list of Trains
 

Methods in <Unnamed> that return Train
 Train TrainHub.findTrain(java.lang.String dest)
          This method tries to find the train in the list of trains, departing to the given destination city.
static Train TrainGenerator.getIncomingTrain()
          Get a new train generated randomly.
static Train TrainGenerator.getIncomingTrainFromFile(java.lang.String filename)
          Get a new train generated from a file.
 

Methods in <Unnamed> with parameters of type Train
 void TrainHub.processIncomingTrain(Train train)
          This method processes the incoming train.