public class LaneType extends Object implements Serializable
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
$LastChangedDate: 2015-08-30 00:16:51 +0200 (Sun, 30 Aug 2015) $, @version $Revision: 1329 $, by $Author: averbraeck $,
initial version Aug 21, 2014
| Modifier and Type | Field and Description |
|---|---|
static LaneType |
NONE
lane type that does not allow any vehicles.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCompatibility(GTUType gtuType) |
boolean |
equals(Object obj) |
String |
getId() |
int |
hashCode() |
boolean |
isCompatible(GTUType gtuType) |
String |
toString() |
public static final LaneType NONE
public LaneType(String id)
id - the id of the lane type.public final void addCompatibility(GTUType gtuType)
gtuType - GTU type to add compatibility for.public final boolean isCompatible(GTUType gtuType)
gtuType - GTU type to look for compatibility.public final String getId()
Copyright © 2014–2015 Delft University of Technology. All rights reserved.