basics.route
Class VehicleImpl
java.lang.Object
basics.route.VehicleImpl
- All Implemented Interfaces:
- Vehicle
- Direct Known Subclasses:
- VehicleImpl.NoVehicle
public class VehicleImpl
- extends java.lang.Object
- implements Vehicle
- Author:
- stefan schroeder
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
noVehicle
public static VehicleImpl.NoVehicle noVehicle()
createNoVehicle
public static VehicleImpl.NoVehicle createNoVehicle()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
getCoord
public Coordinate getCoord()
- Specified by:
getCoord in interface Vehicle
getEarliestDeparture
public double getEarliestDeparture()
- Specified by:
getEarliestDeparture in interface Vehicle
getLatestArrival
public double getLatestArrival()
- Specified by:
getLatestArrival in interface Vehicle
getLocationId
public java.lang.String getLocationId()
- Specified by:
getLocationId in interface Vehicle
getType
public VehicleType getType()
- Specified by:
getType in interface Vehicle
getId
public java.lang.String getId()
- Specified by:
getId in interface Vehicle
getCapacity
public int getCapacity()
- Specified by:
getCapacity in interface Vehicle