Enum Info |
|---|
public enum RoadClass Road class enumeration class. |
Enum Value and Description |
|---|
GRADE_HIGH_WAY(0) Highway. (bit0) |
GRADE_SHIPPING_LINE(1) Ferry. (bit1) |
GRADE_EXIT_RAMP(2) Highway exit ramp. (bit2) |
GRADE_ENTRANCE_RAMP(3) Highway entrance ramp. (bit3) |
GRADE_RAMP(4) Ramp. (bit4) |
GRADE_TUNNEL(5) Tunnel. (bit5) |
GRADE_BRIDGE(6) Bridge. (bit6) |
GRADE_CONNECTOR(7) Connector. (bit7) |
GRADE_IMPENTRANCE(8) Non-penetrable road. (bit8) |
GRADE_UNPAVED(9) Unpaved road. (bit9) |
GRADE_POOR(10) Poor road. (bit10) |
GRADE_ROUGH(11) Rough road. (bit11) |
Method |
|---|
public int getCode() Obtains the road class code. |
Returns
Type | Description |
|---|---|
int | Road class code. |
Method |
|---|
public boolean match(int value) Checks whether the specified int-type road class code complies with the current road type. |
Parameters
Name | Description |
|---|---|
value | Int-type road class code. |
Returns
Type | Description |
|---|---|
boolean | true if the specified int-type road class code complies with the current road type; false otherwise. |