v2x-client
| java.lang.Object | |
| ↳ | com.commsignia.v2x.client.model.bsm.RoadFriction |
Represents road friction as .02 values (BSM).
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | MAX_VALUE | Maximum value for road friction. | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final RoadFriction | UNAVAILABLE | Represents the unavailable value for road friction. | |||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | compareTo(RoadFriction o) | ||||||||||
| boolean | equals(Object o) | ||||||||||
| int | hashCode() | ||||||||||
| static RoadFriction |
of(int value)
Creates a road friction instance.
| ||||||||||
| String | toString() | ||||||||||
| static RoadFriction |
unavailable()
Returns the unavailable road friction value.
| ||||||||||
| int |
value()
Returns the friction value.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
Maximum value for road friction.
Creates a road friction instance.
| value | road friction value as .02 |
|---|
Returns the unavailable road friction value.
Returns the friction value.