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 class
Speed.
Copyright (c) 2013-2019 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
Methods inherited from class org.opentrafficsim.road.network.speed.SpeedLimitType
equals, getId, getInfoClass, hashCode
-
Constructor Details
-
SpeedLimitTypeSpeed
Constructor.- Parameters:
id- String; id of this speed limit type, which must be unique- Throws:
NullPointerException- if id is null
-
-
Method Details
-
toString
- Overrides:
toStringin classSpeedLimitType<Speed>
-