T
- class of lane based object containedpublic static class LaneStructure.Entry<T extends LaneBasedObject> extends Object implements Comparable<LaneStructure.Entry<T>>
Copyright (c) 2013-2019 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(Length distance,
T laneBasedObject) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(LaneStructure.Entry<T> arg) |
boolean |
equals(Object obj) |
Length |
getDistance() |
T |
getLaneBasedObject() |
int |
hashCode() |
String |
toString() |
public final 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–2019 Delft University of Technology. All rights reserved.