T
- class of lane based object containedpublic static class EnvironmentState.Entry<T extends LaneBasedObject> extends Object implements Comparable<EnvironmentState.Entry<T>>
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 |
---|
Entry(org.djunits.value.vdouble.scalar.Length distance,
T laneBasedObject) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(EnvironmentState.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(EnvironmentState.Entry<T> arg)
compareTo
in interface Comparable<EnvironmentState.Entry<T extends LaneBasedObject>>
Copyright © 2014–2016 Delft University of Technology. All rights reserved.