ID - the ID-type of the GTU, e.g. String or a certain Enum type.public final class GTUType<ID> 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.
| Modifier and Type | Field and Description |
|---|---|
static GTUType<String> |
ALL
ALL GTUType to be used only for permeability and accessibility.
|
static GTUType<String> |
NONE
NONE GTUType to be used only for permeability and accessibility.
|
| Modifier and Type | Method and Description |
|---|---|
ID |
getId() |
static <ID> GTUType<ID> |
makeGTUType(ID id)
Construct a new GTUType or (if it already exists) return an existing GTUType.
|
String |
toString() |
public static final GTUType<String> ALL
public static <ID> GTUType<ID> makeGTUType(ID id)
ID - the ID-type of the GTU, e.g. String or a certain Enum type.id - ID; the id of the GTUTypepublic ID getId()
Copyright © 2014–2015 Delft University of Technology. All rights reserved.