Uses of Interface
org.opentrafficsim.core.object.ObjectInterface
-
Packages that use ObjectInterface Package Description org.opentrafficsim.core.network Classes that build a network with nodes, links, and cross-sections.org.opentrafficsim.core.object Static objects that the GTU might have to avoid. -
-
Uses of ObjectInterface in org.opentrafficsim.core.network
Methods in org.opentrafficsim.core.network with type parameters of type ObjectInterface Modifier and Type Method Description <T extends ObjectInterface>
TNetwork. getObject(Class<T> objectType, String objectId)
Return object of given type with given id.<T extends ObjectInterface>
TOTSNetwork. getObject(Class<T> objectType, String objectId)
Return object of given type with given id.<T extends ObjectInterface>
ImmutableMap<String,T>Network. getObjectMap(Class<T> objectType)
Return an immutable map of all ObjectInterface implementing objects in the network that are of type objectType, or any sub type thereof.<T extends ObjectInterface>
ImmutableMap<String,T>OTSNetwork. getObjectMap(Class<T> objectType)
Return an immutable map of all ObjectInterface implementing objects in the network that are of type objectType, or any sub type thereof.Methods in org.opentrafficsim.core.network that return types with arguments of type ObjectInterface Modifier and Type Method Description ImmutableMap<String,ObjectInterface>
Network. getObjectMap()
Return an immutable map of all ObjectInterface implementing objects in the Network.ImmutableMap<String,ObjectInterface>
OTSNetwork. getObjectMap()
Return an immutable map of all ObjectInterface implementing objects in the Network.(package private) Map<String,ObjectInterface>
OTSNetwork. getRawObjectMap()
Methods in org.opentrafficsim.core.network with parameters of type ObjectInterface Modifier and Type Method Description void
Network. addObject(ObjectInterface object)
Add an ObjectInterface implementing object to the Network.void
OTSNetwork. addObject(ObjectInterface object)
Add an ObjectInterface implementing object to the Network.boolean
Network. containsObject(ObjectInterface object)
Test whether the object is present in the Network.boolean
OTSNetwork. containsObject(ObjectInterface object)
Test whether the object is present in the Network.void
Network. removeObject(ObjectInterface object)
Remove an ObjectInterface implementing object form the Network.void
OTSNetwork. removeObject(ObjectInterface object)
Remove an ObjectInterface implementing object form the Network. -
Uses of ObjectInterface in org.opentrafficsim.core.object
Classes in org.opentrafficsim.core.object that implement ObjectInterface Modifier and Type Class Description class
StaticObject
A static object with a height that a GTU might have to avoid, or which can cause occlusion for perception.
-