T
- class of lane based object containedpublic static class LaneStructure.Entry<T extends LaneBasedObject> extends Object implements Comparable<LaneStructure.Entry<T>>
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
Entry(org.djunits.value.vdouble.scalar.Length distance,
T laneBasedObject) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(LaneStructure.Entry<T> arg) |
boolean |
equals(Object obj) |
org.djunits.value.vdouble.scalar.Length |
getDistance() |
T |
getLaneBasedObject() |
int |
hashCode() |
String |
toString() |
public Entry(org.djunits.value.vdouble.scalar.Length distance, T laneBasedObject)
distance
- distance to lane based objectlaneBasedObject
- lane based objectpublic final org.djunits.value.vdouble.scalar.Length getDistance()
public final T getLaneBasedObject()
public final int compareTo(LaneStructure.Entry<T> arg)
compareTo
in interface Comparable<LaneStructure.Entry<T extends LaneBasedObject>>
Copyright © 2014–2017 Delft University of Technology. All rights reserved.