MATSIM
Main Page
Related Pages
Packages
Classes
Files
File List
vehicles
FreightCapacityImpl.java
Go to the documentation of this file.
1
/* *********************************************************************** *
2
* project: org.matsim.*
3
* *
4
* *********************************************************************** *
5
* *
6
* copyright : (C) 2008 by the members listed in the COPYING, *
7
* LICENSE and WARRANTY file. *
8
* email : info at matsim dot org *
9
* *
10
* *********************************************************************** *
11
* *
12
* This program is free software; you can redistribute it and/or modify *
13
* it under the terms of the GNU General Public License as published by *
14
* the Free Software Foundation; either version 2 of the License, or *
15
* (at your option) any later version. *
16
* See also COPYING, LICENSE and WARRANTY file *
17
* *
18
* *********************************************************************** */
19
20
package
org.matsim.vehicles;
21
22
26
public
class
FreightCapacityImpl
implements
FreightCapacity
{
27
28
private
double
volume
;
29
30
public
FreightCapacityImpl
(){}
31
32
@Override
33
public
void
setVolume
(
double
cubicMeters) {
34
this.volume = cubicMeters;
35
}
36
37
@Override
38
public
double
getVolume
() {
39
return
this.
volume
;
40
}
41
42
}
org.matsim.vehicles.FreightCapacityImpl.volume
double volume
Definition:
FreightCapacityImpl.java:28
org.matsim.vehicles.FreightCapacityImpl
Definition:
FreightCapacityImpl.java:26
org.matsim.vehicles.FreightCapacity
Definition:
FreightCapacity.java:22
org.matsim.vehicles.FreightCapacityImpl.setVolume
void setVolume(double cubicMeters)
Definition:
FreightCapacityImpl.java:33
org.matsim.vehicles.FreightCapacityImpl.getVolume
double getVolume()
Definition:
FreightCapacityImpl.java:38
org.matsim.vehicles.FreightCapacityImpl.FreightCapacityImpl
FreightCapacityImpl()
Definition:
FreightCapacityImpl.java:30
Generated on Wed Sep 11 2019 11:16:07 for MATSIM by
1.8.8