
org.opentripplanner.model.plan.Emissions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
The newest version!
package org.opentripplanner.model.plan;
import org.opentripplanner.framework.lang.Sandbox;
import org.opentripplanner.framework.model.Grams;
/**
* Represents the emissions of a journey. Each type of emissions has its own field and unit.
*/
@Sandbox
public class Emissions {
private Grams co2;
public Emissions(Grams co2) {
if (co2 != null) {
this.co2 = co2;
}
}
public Grams getCo2() {
return co2;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy