Class SpeedLimitTypeSpeed
- java.lang.Object
-
- org.opentrafficsim.base.Type<SpeedLimitType<T>>
-
- org.opentrafficsim.road.network.speed.SpeedLimitType<Speed>
-
- org.opentrafficsim.road.network.speed.SpeedLimitTypeSpeed
-
- All Implemented Interfaces:
Serializable,Identifiable
- Direct Known Subclasses:
SpeedLimitTypeSpeedLegal
public class SpeedLimitTypeSpeed extends SpeedLimitType<Speed>
Implementation of SpeedLimitType suitable for the most common speed info classSpeed.Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version Apr 30, 2016
- Author:
- Alexander Verbraeck, Wouter Schakel
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SpeedLimitTypeSpeed(String id)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()-
Methods inherited from class org.opentrafficsim.road.network.speed.SpeedLimitType
equals, getId, getInfoClass, hashCode
-
-
-
-
Constructor Detail
-
SpeedLimitTypeSpeed
public SpeedLimitTypeSpeed(String id)
Constructor.- Parameters:
id- String; id of this speed limit type, which must be unique- Throws:
NullPointerException- if id is null
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classSpeedLimitType<Speed>
-
-