Class PortableVehicle
- java.lang.Object
-
- org.optaweb.vehiclerouting.plugin.websocket.PortableVehicle
-
-
Constructor Summary
Constructors Constructor Description PortableVehicle(long id, String name, int capacity)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)(package private) static PortableVehiclefromVehicle(Vehicle vehicle)intgetCapacity()longgetId()StringgetName()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
PortableVehicle
PortableVehicle(long id, String name, int capacity)
-
-
Method Detail
-
fromVehicle
static PortableVehicle fromVehicle(Vehicle vehicle)
-
getId
public long getId()
-
getName
public String getName()
-
getCapacity
public int getCapacity()
-
-