| Modifier and Type | Method and Description |
|---|---|
static Capacity |
Capacity.addup(Capacity cap1,
Capacity cap2)
Adds up two capacities, i.e.
|
Capacity |
Capacity.Builder.build()
Builds an immutable Capacity and returns it.
|
static Capacity |
Capacity.copyOf(Capacity capacity)
Makes a deep copy of Capacity.
|
static Capacity |
Capacity.invert(Capacity cap2invert)
Returns the inverted capacity, i.e.
|
static Capacity |
Capacity.max(Capacity cap1,
Capacity cap2)
Return the maximum, i.e.
|
static Capacity |
Capacity.min(Capacity cap1,
Capacity cap2) |
static Capacity |
Capacity.subtract(Capacity cap,
Capacity cap2subtract)
Subtracts cap2subtract from cap and returns the resulting Capacity.
|
| Modifier and Type | Method and Description |
|---|---|
static Capacity |
Capacity.addup(Capacity cap1,
Capacity cap2)
Adds up two capacities, i.e.
|
static Capacity |
Capacity.copyOf(Capacity capacity)
Makes a deep copy of Capacity.
|
static double |
Capacity.divide(Capacity numerator,
Capacity denominator)
Divides every dimension of numerator capacity by the corresponding dimension of denominator capacity,
, and averages each quotient.
|
static Capacity |
Capacity.invert(Capacity cap2invert)
Returns the inverted capacity, i.e.
|
boolean |
Capacity.isGreaterOrEqual(Capacity toCompare)
Returns true if this capacity is greater or equal than the capacity toCompare
|
boolean |
Capacity.isLessOrEqual(Capacity toCompare)
Returns true if this capacity is less or equal than the capacity toCompare, i.e.
|
static Capacity |
Capacity.max(Capacity cap1,
Capacity cap2)
Return the maximum, i.e.
|
static Capacity |
Capacity.min(Capacity cap1,
Capacity cap2) |
static Capacity |
Capacity.subtract(Capacity cap,
Capacity cap2subtract)
Subtracts cap2subtract from cap and returns the resulting Capacity.
|
| Modifier and Type | Field and Description |
|---|---|
protected Capacity |
Service.Builder.capacity |
| Modifier and Type | Method and Description |
|---|---|
Capacity |
Shipment.getSize() |
Capacity |
Service.getSize() |
Capacity |
Job.getSize()
Returns size, i.e.
|
| Modifier and Type | Method and Description |
|---|---|
Service.Builder<T> |
Service.Builder.addAllSizeDimensions(Capacity size) |
| Modifier and Type | Method and Description |
|---|---|
Capacity |
TourActivity.getSize()
Returns the capacity-demand of that activity, in terms of what needs to be loaded or unloaded at
this activity.
|
Capacity |
Start.getSize() |
Capacity |
ServiceActivity.getSize() |
Capacity |
PickupShipment.getSize() |
Capacity |
PickupService.getSize() |
Capacity |
End.getSize() |
Capacity |
DeliverShipment.getSize() |
Capacity |
DeliverService.getSize() |
Capacity |
BreakActivity.getSize() |
| Modifier and Type | Method and Description |
|---|---|
Capacity |
VehicleTypeImpl.getCapacityDimensions() |
Capacity |
VehicleType.getCapacityDimensions()
Returns capacity dimensions.
|
| Modifier and Type | Method and Description |
|---|---|
VehicleTypeImpl.Builder |
VehicleTypeImpl.Builder.setCapacityDimensions(Capacity capacity)
Sets capacity dimensions.
|
Copyright © 2013–2016. All rights reserved.