ID
- to identify the ID type (can be String, numeric, object).public class LaneType<ID> extends Object
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Method and Description |
---|---|
void |
addPermeability(GTUType<?> gtuType) |
ID |
getId() |
boolean |
isCompatible(GTUType<?> gtuType) |
String |
toString() |
public LaneType(ID id)
id
- the id of the lane type.public final void addPermeability(GTUType<?> gtuType)
gtuType
- GTU type to add compatibility for.public final boolean isCompatible(GTUType<?> gtuType)
gtuType
- GTU type to look for compatibility.public final ID getId()
Copyright © 2014–2015 Delft University of Technology. All rights reserved.