Class TmcTableId
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
,scala.Serializable
param: version A variable length representation of the table version.
If one byte is used then there are 4 bits for the major version and 3 bits for the minor version. If two bytes are used the there are 7 bits for the minor and 7 bits for the major version. param: extendedCountryCode It is an unsigned 8-bit integer. It is customarily param: countryCode This is a number between 1 and 15. It is customarily represented as a single hexadecimal digit. represented as a two digit hexadecimal number. param: number The number of the location table. This is a number between 1-63. It is customarily represented as a two digit decimal number.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTmcTableId
(scala.Option<Object> version, scala.Option<Object> extendedCountryCode, short countryCode, short number) -
Method Summary
Modifier and TypeMethodDescriptionstatic TmcTableId
apply
(TrafficMessageChannelCode tmcCode) Extracts a `TmcTableId` from a given `TrafficMessageChannelCode`.static TmcTableId
Extracts a `TmcTableId` from a given `etl.TMCLocationReference`.static TmcTableId
Extracts a `TmcTableId` from a given `tmc.TMCLocationReference`.static TmcTableId
apply
(com.here.platform.pb.location.optimizedmap.tmc.v2.tmc.TmcTablePartition table) Extracts a `TmcTableId` from a given `TmcTablePartition`.static TmcTableId
Creates a TmcTableId from the customary string representation of the composite table identifier in the following format:short
scala.Option<Object>
idString()
Returns the customary string representation of the composite table identifier in the following format:short
number()
scala.Option<Object>
version()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
-
Constructor Details
-
TmcTableId
-
-
Method Details
-
apply
Creates a TmcTableId from the customary string representation of the composite table identifier in the following format:2_digit_hex(extendedCountryCode)1_digit_hex(countryCode)2_digit_decimal(tableNumber)
An example would be "E0D01" for the table covering Germany.
-
apply
Extracts a `TmcTableId` from a given `etl.TMCLocationReference`. -
apply
Extracts a `TmcTableId` from a given `tmc.TMCLocationReference`. -
apply
public static TmcTableId apply(com.here.platform.pb.location.optimizedmap.tmc.v2.tmc.TmcTablePartition table) Extracts a `TmcTableId` from a given `TmcTablePartition`. -
version
-
extendedCountryCode
-
countryCode
public short countryCode() -
number
public short number() -
idString
Returns the customary string representation of the composite table identifier in the following format:2_digit_hex(extendedCountryCode)1_digit_hex(countryCode)2_digit_decimal(tableNumber)
An example would be "E0D01" for the current table for Germany.
-