Class Summary |
CargoCar |
This class represents a single train car. |
Config |
Config class has constant variables to ensure proper input and output
messages for the program. |
LinkedList<E> |
An Iterable list that is implemented using a singly-linked chain of nodes
with a header node and without a tail reference. |
LinkedListIterator<T> |
The iterator implementation for LinkedList. |
Listnode<E> |
The internal node structure of LinkedList . |
Train |
This class represents a train. |
TrainGenerator |
This class provide methods for generating a Train. |
TrainHub |
This class represents a train hub and provides the common operations
needed for managing the incoming and outgoing trains. |
TrainHubMain |
This class is the main class and it provides the user interface
between users and the TrainHub object. |