A C D E F G H I L M N P R S T W

G

get(int) - Method in interface ListADT
Returns the item at position pos in the List.
getData() - Method in class Listnode
Returns a reference to data item for this node.
getDestination() - Method in class CargoCar
Get the destination of this cargo car
getDestination() - Method in class Train
Get the destination of this train.
getHeaderNode() - Method in class LinkedList
Returns a reference to the header node for this linked list.
getIncomingTrain() - Static method in class TrainGenerator
Get a new train generated randomly.
getIncomingTrainFromFile(String) - Static method in class TrainGenerator
Get a new train generated from a file.
getName() - Method in class CargoCar
Get the cargo load name of this cargo car.
getNext() - Method in class Listnode
Returns a reference to the next node after this node.
getWeight() - Method in class CargoCar
Get the weight of this cargo car.
getWeight(String) - Method in class Train
Get the total weight of a cargo in this train.
getWeight(String) - Method in class TrainHub
This method iterates through all the trains in the list and finds the sum of weights of given cargo in all trains.

A C D E F G H I L M N P R S T W