public class LaneDirection extends Object implements Serializable
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 |
---|
LaneDirection(Lane lane,
org.opentrafficsim.core.gtu.GTUDirectionality direction) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
org.opentrafficsim.core.gtu.GTUDirectionality |
getDirection() |
Lane |
getLane() |
int |
hashCode() |
String |
toString() |
public LaneDirection(Lane lane, org.opentrafficsim.core.gtu.GTUDirectionality direction)
lane
- the lanedirection
- the direction to drive on this lanepublic final Lane getLane()
public final org.opentrafficsim.core.gtu.GTUDirectionality getDirection()
Copyright © 2014–2017 Delft University of Technology. All rights reserved.