public class InfrastructureLaneChangeInfo extends Object implements Comparable<InfrastructureLaneChangeInfo>, Serializable
 Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
| Constructor and Description | 
|---|
InfrastructureLaneChangeInfo(int requiredNumberOfLaneChanges,
                            org.djunits.value.vdouble.scalar.Length remainingDistance)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
compareTo(InfrastructureLaneChangeInfo infrastructureLaneChangeInfo) | 
org.djunits.value.vdouble.scalar.Length | 
getRemainingDistance()  | 
int | 
getRequiredNumberOfLaneChanges()  | 
String | 
toString() | 
public InfrastructureLaneChangeInfo(int requiredNumberOfLaneChanges,
                                    org.djunits.value.vdouble.scalar.Length remainingDistance)
requiredNumberOfLaneChanges - required number of lane changesremainingDistance - remaining distance to perform required lane changesIllegalArgumentException - if required number of lane changes or remaining distance is negativeNullPointerException - if remaining distance is nullpublic final int getRequiredNumberOfLaneChanges()
public final org.djunits.value.vdouble.scalar.Length getRemainingDistance()
public final int compareTo(InfrastructureLaneChangeInfo infrastructureLaneChangeInfo)
compareTo in interface Comparable<InfrastructureLaneChangeInfo>Copyright © 2014–2017 Delft University of Technology. All rights reserved.