Class SpeedLimitTypeSpeedLegal
java.lang.Object
org.opentrafficsim.base.Type<SpeedLimitType<T>>
org.opentrafficsim.road.network.speed.SpeedLimitType<Speed>
org.opentrafficsim.road.network.speed.SpeedLimitTypeSpeed
org.opentrafficsim.road.network.speed.SpeedLimitTypeSpeedLegal
- All Implemented Interfaces:
Serializable,Identifiable,LegalSpeedLimit
public class SpeedLimitTypeSpeedLegal extends SpeedLimitTypeSpeed implements LegalSpeedLimit
Similar to
SpeedLimitTypeSpeed but implements the marker interface LegalSpeedLimit.
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 SpeedLimitTypeSpeedLegal(String id)Constructor. -
Method Summary
Methods inherited from class org.opentrafficsim.road.network.speed.SpeedLimitType
equals, getId, getInfoClass, hashCode
-
Constructor Details
-
SpeedLimitTypeSpeedLegal
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 classSpeedLimitTypeSpeed
-