java.lang.Object | |
↳ | com.commsignia.v2x.client.model.DrivingLaneStatus |
Represents the status of the lanes referenced by their number where the numbering starts from the outermost lane of the road.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DrivingLaneStatus()
Creates a new instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object o) | ||||||||||
int | hashCode() | ||||||||||
boolean |
isHardShoulderClosed()
Returns whether the hard shoulder is closed.
| ||||||||||
boolean |
isLaneClosed(int laneNumber)
Returns whether the specified lane is closed or open.
| ||||||||||
void |
setHardShoulderClosed(boolean closed)
Sets whether the hard shoulder is closed.
| ||||||||||
void |
setLaneClosed(int laneNumber, boolean closed)
Sets whether the specified lane is closed or opened.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Creates a new instance.
Returns whether the hard shoulder is closed.
Returns whether the specified lane is closed or open.
laneNumber | is the lane identifier |
---|
IllegalArgumentException | thrown if the lane number us not valid |
---|
Sets whether the hard shoulder is closed.
closed | whether the hard shoulder is closed |
---|
Sets whether the specified lane is closed or opened.
laneNumber | lane number is the lane identifier, the first lane is the outermost lane, starts from zero |
---|---|
closed | true if the lane is closed, false otherwise |
IllegalArgumentException | thrown if the lane number us not valid |
---|