basics.route
Class VehicleImpl.NoVehicle

java.lang.Object
  extended by basics.route.VehicleImpl
      extended by basics.route.VehicleImpl.NoVehicle
All Implemented Interfaces:
Vehicle
Enclosing class:
VehicleImpl

public static class VehicleImpl.NoVehicle
extends VehicleImpl


Nested Class Summary
 
Nested classes/interfaces inherited from class basics.route.VehicleImpl
VehicleImpl.Builder, VehicleImpl.NoVehicle
 
Constructor Summary
VehicleImpl.NoVehicle()
           
 
Method Summary
 int getCapacity()
           
 
Methods inherited from class basics.route.VehicleImpl
createNoVehicle, getCoord, getEarliestDeparture, getId, getLatestArrival, getLocationId, getType, noVehicle, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VehicleImpl.NoVehicle

public VehicleImpl.NoVehicle()
Method Detail

getCapacity

public int getCapacity()
Specified by:
getCapacity in interface Vehicle
Overrides:
getCapacity in class VehicleImpl