v2x-client
| java.lang.Object | |
| ↳ | com.commsignia.v2x.client.model.RegSpeedLimit |
Represents a regulatory speed limit.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
RegSpeedLimit()
Creates a new RegSpeedLimit instance
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | equals(Object o) | ||||||||||
| double |
getSpeed(SpeedUnit unit)
Returns the speed.
| ||||||||||
| RegSpeedLimitType |
getType()
Returns the speed limit type.
| ||||||||||
| int | hashCode() | ||||||||||
| void |
setSpeed(double speed, SpeedUnit speedUnit)
Sets the speed.
| ||||||||||
| void |
setType(RegSpeedLimitType type)
Sets the speed limit type
| ||||||||||
| String | toString() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a new RegSpeedLimit instance
Returns the speed.
| unit | target unit |
|---|
Sets the speed.
| speed | speed value |
|---|---|
| speedUnit | speed unit |
Sets the speed limit type
| type | speed limit type |
|---|