Uses of Class
CargoCar

Uses of CargoCar in <Unnamed>
 

Fields in <Unnamed> with type parameters of type CargoCar
private  LinkedList<CargoCar> Train.train
           
 

Methods in <Unnamed> that return CargoCar
 CargoCar Train.removeCargo(java.lang.String cargoName)
          Remove the first CargoCar from this train which has the same cargo name with the argument.
 CargoCar TrainHub.removeCargo(java.lang.String dest, java.lang.String name)
          This method removes the first cargo car going to the given destination city and carrying the given cargo.
 

Methods in <Unnamed> that return types with arguments of type CargoCar
 LinkedListIterator<CargoCar> Train.iterator()
           
 

Methods in <Unnamed> with parameters of type CargoCar
 void Train.add(CargoCar cargoCar)
           
 void Train.add(int pos, CargoCar newCargo)